// Lean compiler output
// Module: Init.TacticsExtra
// Imports: Init.Tactics Init.NotationExtra
#include <lean/lean.h>
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter"
#pragma clang diagnostic ignored "-Wunused-label"
#elif defined(__GNUC__) && !defined(__CLANG__)
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wunused-label"
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#endif
#ifdef __cplusplus
extern "C" {
#endif
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__31;
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__27;
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__25;
static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__4;
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__30;
static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__20;
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1(lean_object*, lean_object*, lean_object*);
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__49;
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__10;
static lean_object* l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__5;
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__19;
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__46;
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__6;
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___closed__6;
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__20;
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__44;
extern lean_object* l_Lean_Parser_Tactic_location;
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__47;
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__39;
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__50;
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__40;
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__18;
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__35;
static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__8;
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__8;
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_array_push(lean_object*, lean_object*);
static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__13;
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_tacticRw__mod__cast______;
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__41;
lean_object* l_Lean_Syntax_getArgs(lean_object*);
static lean_object* l_Lean_Parser_Tactic_tacticApply__mod__cast_____closed__6;
lean_object* l_Lean_replaceRef(lean_object*, lean_object*);
static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___closed__1;
static lean_object* l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__6;
static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__3;
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__51;
lean_object* l_Lean_Syntax_TSepArray_getElems___rarg(lean_object*);
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__16;
static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1___lambda__1___closed__2;
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__56;
lean_object* l_Lean_Syntax_node5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__11;
uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*);
static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__4;
static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__9;
static lean_object* l_Lean_Parser_Tactic_tacticApply__mod__cast_____closed__5;
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__3;
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__55;
static lean_object* l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__9;
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__42;
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__3;
size_t lean_usize_of_nat(lean_object*);
static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1___lambda__1___closed__3;
static lean_object* l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__1;
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__26;
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__22;
static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__1;
static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___closed__3;
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1(lean_object*, lean_object*, lean_object*);
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__1;
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__7;
lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t);
static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__10;
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__4;
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1;
static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__12;
static lean_object* l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__4;
static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1___lambda__1___closed__1;
extern lean_object* l_Lean_Parser_Tactic_rwRuleSeq;
static lean_object* l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__2;
static lean_object* l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__5;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___spec__1(size_t, size_t, lean_object*);
static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__6;
static lean_object* l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__8;
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__6;
static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticApply__mod__cast____1___closed__1;
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__15;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*);
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__13;
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__12;
lean_object* l_Lean_Syntax_node3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___closed__1;
static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__5;
static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__4;
lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_tacticApply__mod__cast__;
static lean_object* l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__4;
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__21;
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__43;
lean_object* l_Lean_Syntax_node2(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticApply__mod__cast____1___closed__2;
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__33;
LEAN_EXPORT lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__15;
uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_tacticIterate________;
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__36;
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__9;
static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__16;
static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__5;
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__52;
static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__22;
lean_object* l_Array_append___rarg(lean_object*, lean_object*);
static lean_object* l_Lean_Parser_Tactic_tacticApply__mod__cast_____closed__3;
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__45;
static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__21;
static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___lambda__2___closed__1;
static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__1;
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__32;
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__54;
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticApply__mod__cast____1___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__2;
lean_object* l_Lean_Syntax_node4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___closed__4;
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___closed__5;
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_tacticExact__mod__cast__;
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__7;
static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__2;
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__24;
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__8;
static lean_object* l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__3;
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*);
static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__1;
static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___closed__2;
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__10;
static lean_object* l_Lean_Parser_Tactic_tacticApply__mod__cast_____closed__1;
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__2;
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__8;
lean_object* l_Lean_Syntax_node1(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticApply__mod__cast____1(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_mkSepArray(lean_object*, lean_object*);
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__23;
uint8_t l_Lean_Syntax_isNone(lean_object*);
static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__6;
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__5;
lean_object* lean_nat_sub(lean_object*, lean_object*);
lean_object* l_Array_mkArray1___rarg(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__6;
static lean_object* l_Lean_Parser_Tactic_tacticApply__mod__cast_____closed__2;
static lean_object* l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__1;
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__7;
static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__19;
size_t lean_usize_add(size_t, size_t);
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__28;
lean_object* l_Lean_Syntax_node8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__14;
lean_object* lean_array_uget(lean_object*, size_t);
static lean_object* l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__7;
static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__18;
static lean_object* l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__10;
extern lean_object* l_Lean_Parser_Tactic_config;
lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__48;
static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__3;
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__17;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___spec__1___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__14;
static lean_object* l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__9;
static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__17;
lean_object* lean_array_get_size(lean_object*);
static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__5;
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__15;
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__13;
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__12;
static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1___closed__2;
static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__11;
uint8_t lean_usize_dec_lt(size_t, size_t);
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__37;
lean_object* l_Array_mkArray2___rarg(lean_object*, lean_object*);
static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__14;
static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__7;
lean_object* lean_nat_add(lean_object*, lean_object*);
static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___closed__2;
static lean_object* l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__3;
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__53;
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__2;
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__7;
lean_object* l_String_toSubstring_x27(lean_object*);
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__38;
LEAN_EXPORT lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Parser_Tactic_tacticApply__mod__cast_____closed__4;
lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
static lean_object* l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__2;
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__11;
lean_object* l___private_Init_Data_Repr_0__Nat_reprFast(lean_object*);
static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__2;
static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1___closed__1;
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__5;
lean_object* l_Lean_Syntax_toNat(lean_object*);
static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__8;
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__34;
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__3;
lean_object* l_Lean_Syntax_mkNumLit(lean_object*, lean_object*);
static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___lambda__2___closed__2;
static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__29;
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__4;
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__9;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___spec__1(size_t x_1, size_t x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; 
x_4 = lean_usize_dec_lt(x_2, x_1);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; lean_object* x_10; 
x_5 = lean_array_uget(x_3, x_2);
x_6 = lean_unsigned_to_nat(0u);
x_7 = lean_array_uset(x_3, x_2, x_6);
x_8 = 1;
x_9 = lean_usize_add(x_2, x_8);
x_10 = lean_array_uset(x_7, x_2, x_5);
x_2 = x_9;
x_3 = x_10;
goto _start;
}
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Lean", 4, 4);
return x_1;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Parser", 6, 6);
return x_1;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Term", 4, 4);
return x_1;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("syntheticHole", 13, 13);
return x_1;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1;
x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__2;
x_3 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__3;
x_4 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__4;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("hole", 4, 4);
return x_1;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1;
x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__2;
x_3 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__3;
x_4 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__6;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__8() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("\?", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__9() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("neg", 3, 3);
return x_1;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__9;
x_2 = l_String_toSubstring_x27(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__9;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__12() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Tactic", 6, 6);
return x_1;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__13() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("case", 4, 4);
return x_1;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__14() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1;
x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__2;
x_3 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__12;
x_4 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__13;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__15() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("null", 4, 4);
return x_1;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__16() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__15;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__17() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("caseArg", 7, 7);
return x_1;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__18() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1;
x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__2;
x_3 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__12;
x_4 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__17;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__19() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("binderIdent", 11, 11);
return x_1;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__20() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1;
x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__19;
x_3 = l_Lean_Name_mkStr2(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__21() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(0u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__22() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("=>", 2, 2);
return x_1;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__23() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("tacticSeq", 9, 9);
return x_1;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__24() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1;
x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__2;
x_3 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__12;
x_4 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__23;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__25() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("tacticSeq1Indented", 18, 18);
return x_1;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__26() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1;
x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__2;
x_3 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__12;
x_4 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__25;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__27() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("withAnnotateState", 17, 17);
return x_1;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__28() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1;
x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__2;
x_3 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__12;
x_4 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__27;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__29() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("with_annotate_state", 19, 19);
return x_1;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__30() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("skip", 4, 4);
return x_1;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__31() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1;
x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__2;
x_3 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__12;
x_4 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__30;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__32() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(1u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__33() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("paren", 5, 5);
return x_1;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__34() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1;
x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__2;
x_3 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__12;
x_4 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__33;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__35() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("(", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__36() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("open", 4, 4);
return x_1;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__37() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1;
x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__2;
x_3 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__12;
x_4 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__36;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__38() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Command", 7, 7);
return x_1;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__39() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("openSimple", 10, 10);
return x_1;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__40() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1;
x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__2;
x_3 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__38;
x_4 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__39;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__41() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Classical", 9, 9);
return x_1;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__42() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__41;
x_2 = l_String_toSubstring_x27(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__43() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__41;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__44() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__43;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__45() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__44;
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__46() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("in", 2, 2);
return x_1;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__47() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("refine", 6, 6);
return x_1;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__48() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1;
x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__2;
x_3 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__12;
x_4 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__47;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__49() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(")", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__50() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(";", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__51() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = lean_box(2);
x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__16;
x_3 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__21;
x_4 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__52() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = lean_box(2);
x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__16;
x_3 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__21;
x_4 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__53() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__44;
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__54() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("pos", 3, 3);
return x_1;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__55() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__54;
x_2 = l_String_toSubstring_x27(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__56() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__54;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
lean_object* x_9; lean_object* x_10; lean_object* x_768; uint8_t x_769; 
x_768 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__5;
lean_inc(x_4);
x_769 = l_Lean_Syntax_isOfKind(x_4, x_768);
if (x_769 == 0)
{
lean_object* x_770; uint8_t x_771; 
x_770 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__7;
lean_inc(x_4);
x_771 = l_Lean_Syntax_isOfKind(x_4, x_770);
if (x_771 == 0)
{
uint8_t x_772; 
x_772 = !lean_is_exclusive(x_8);
if (x_772 == 0)
{
lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; uint8_t x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; uint8_t x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; 
x_773 = lean_ctor_get(x_8, 0);
x_774 = lean_unsigned_to_nat(1u);
x_775 = lean_nat_add(x_773, x_774);
lean_ctor_set(x_8, 0, x_775);
x_776 = lean_ctor_get(x_7, 1);
lean_inc(x_776);
x_777 = lean_ctor_get(x_7, 5);
lean_inc(x_777);
x_778 = 0;
x_779 = l_Lean_SourceInfo_fromRef(x_777, x_778);
lean_dec(x_777);
x_780 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__8;
lean_inc(x_779);
x_781 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_781, 0, x_779);
lean_ctor_set(x_781, 1, x_780);
x_782 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__56;
x_783 = l_Lean_addMacroScope(x_776, x_782, x_773);
x_784 = lean_box(0);
x_785 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__55;
lean_inc(x_779);
x_786 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_786, 0, x_779);
lean_ctor_set(x_786, 1, x_785);
lean_ctor_set(x_786, 2, x_783);
lean_ctor_set(x_786, 3, x_784);
lean_inc(x_779);
x_787 = l_Lean_Syntax_node2(x_779, x_768, x_781, x_786);
x_788 = l_Lean_Syntax_getArg(x_787, x_774);
x_789 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__13;
lean_inc(x_779);
x_790 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_790, 0, x_779);
lean_ctor_set(x_790, 1, x_789);
x_791 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__20;
lean_inc(x_779);
x_792 = l_Lean_Syntax_node1(x_779, x_791, x_788);
x_793 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__16;
x_794 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__21;
lean_inc(x_779);
x_795 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_795, 0, x_779);
lean_ctor_set(x_795, 1, x_793);
lean_ctor_set(x_795, 2, x_794);
x_796 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__18;
lean_inc(x_795);
lean_inc(x_779);
x_797 = l_Lean_Syntax_node2(x_779, x_796, x_792, x_795);
lean_inc(x_779);
x_798 = l_Lean_Syntax_node1(x_779, x_793, x_797);
x_799 = 1;
x_800 = l_Lean_SourceInfo_fromRef(x_2, x_799);
x_801 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__22;
x_802 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_802, 0, x_800);
lean_ctor_set(x_802, 1, x_801);
x_803 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__29;
lean_inc(x_779);
x_804 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_804, 0, x_779);
lean_ctor_set(x_804, 1, x_803);
x_805 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__30;
lean_inc(x_779);
x_806 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_806, 0, x_779);
lean_ctor_set(x_806, 1, x_805);
x_807 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__31;
lean_inc(x_779);
x_808 = l_Lean_Syntax_node1(x_779, x_807, x_806);
x_809 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__28;
lean_inc(x_779);
x_810 = l_Lean_Syntax_node3(x_779, x_809, x_804, x_2, x_808);
lean_inc(x_779);
x_811 = l_Lean_Syntax_node3(x_779, x_793, x_810, x_795, x_4);
x_812 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__26;
lean_inc(x_779);
x_813 = l_Lean_Syntax_node1(x_779, x_812, x_811);
x_814 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__24;
lean_inc(x_779);
x_815 = l_Lean_Syntax_node1(x_779, x_814, x_813);
x_816 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__14;
x_817 = l_Lean_Syntax_node4(x_779, x_816, x_790, x_798, x_802, x_815);
x_818 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__32;
x_819 = lean_array_push(x_818, x_817);
x_820 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_820, 0, x_787);
lean_ctor_set(x_820, 1, x_819);
x_9 = x_820;
x_10 = x_8;
goto block_767;
}
else
{
lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; uint8_t x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; uint8_t x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; lean_object* x_868; lean_object* x_869; lean_object* x_870; 
x_821 = lean_ctor_get(x_8, 0);
x_822 = lean_ctor_get(x_8, 1);
lean_inc(x_822);
lean_inc(x_821);
lean_dec(x_8);
x_823 = lean_unsigned_to_nat(1u);
x_824 = lean_nat_add(x_821, x_823);
x_825 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_825, 0, x_824);
lean_ctor_set(x_825, 1, x_822);
x_826 = lean_ctor_get(x_7, 1);
lean_inc(x_826);
x_827 = lean_ctor_get(x_7, 5);
lean_inc(x_827);
x_828 = 0;
x_829 = l_Lean_SourceInfo_fromRef(x_827, x_828);
lean_dec(x_827);
x_830 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__8;
lean_inc(x_829);
x_831 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_831, 0, x_829);
lean_ctor_set(x_831, 1, x_830);
x_832 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__56;
x_833 = l_Lean_addMacroScope(x_826, x_832, x_821);
x_834 = lean_box(0);
x_835 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__55;
lean_inc(x_829);
x_836 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_836, 0, x_829);
lean_ctor_set(x_836, 1, x_835);
lean_ctor_set(x_836, 2, x_833);
lean_ctor_set(x_836, 3, x_834);
lean_inc(x_829);
x_837 = l_Lean_Syntax_node2(x_829, x_768, x_831, x_836);
x_838 = l_Lean_Syntax_getArg(x_837, x_823);
x_839 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__13;
lean_inc(x_829);
x_840 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_840, 0, x_829);
lean_ctor_set(x_840, 1, x_839);
x_841 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__20;
lean_inc(x_829);
x_842 = l_Lean_Syntax_node1(x_829, x_841, x_838);
x_843 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__16;
x_844 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__21;
lean_inc(x_829);
x_845 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_845, 0, x_829);
lean_ctor_set(x_845, 1, x_843);
lean_ctor_set(x_845, 2, x_844);
x_846 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__18;
lean_inc(x_845);
lean_inc(x_829);
x_847 = l_Lean_Syntax_node2(x_829, x_846, x_842, x_845);
lean_inc(x_829);
x_848 = l_Lean_Syntax_node1(x_829, x_843, x_847);
x_849 = 1;
x_850 = l_Lean_SourceInfo_fromRef(x_2, x_849);
x_851 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__22;
x_852 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_852, 0, x_850);
lean_ctor_set(x_852, 1, x_851);
x_853 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__29;
lean_inc(x_829);
x_854 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_854, 0, x_829);
lean_ctor_set(x_854, 1, x_853);
x_855 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__30;
lean_inc(x_829);
x_856 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_856, 0, x_829);
lean_ctor_set(x_856, 1, x_855);
x_857 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__31;
lean_inc(x_829);
x_858 = l_Lean_Syntax_node1(x_829, x_857, x_856);
x_859 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__28;
lean_inc(x_829);
x_860 = l_Lean_Syntax_node3(x_829, x_859, x_854, x_2, x_858);
lean_inc(x_829);
x_861 = l_Lean_Syntax_node3(x_829, x_843, x_860, x_845, x_4);
x_862 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__26;
lean_inc(x_829);
x_863 = l_Lean_Syntax_node1(x_829, x_862, x_861);
x_864 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__24;
lean_inc(x_829);
x_865 = l_Lean_Syntax_node1(x_829, x_864, x_863);
x_866 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__14;
x_867 = l_Lean_Syntax_node4(x_829, x_866, x_840, x_848, x_852, x_865);
x_868 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__32;
x_869 = lean_array_push(x_868, x_867);
x_870 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_870, 0, x_837);
lean_ctor_set(x_870, 1, x_869);
x_9 = x_870;
x_10 = x_825;
goto block_767;
}
}
else
{
lean_object* x_871; uint8_t x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; 
lean_dec(x_4);
lean_dec(x_2);
x_871 = lean_ctor_get(x_7, 5);
lean_inc(x_871);
x_872 = 0;
x_873 = l_Lean_SourceInfo_fromRef(x_871, x_872);
lean_dec(x_871);
x_874 = lean_ctor_get(x_7, 2);
lean_inc(x_874);
x_875 = lean_ctor_get(x_7, 1);
lean_inc(x_875);
x_876 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__8;
lean_inc(x_873);
x_877 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_877, 0, x_873);
lean_ctor_set(x_877, 1, x_876);
x_878 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__56;
x_879 = l_Lean_addMacroScope(x_875, x_878, x_874);
x_880 = lean_box(0);
x_881 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__55;
lean_inc(x_873);
x_882 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_882, 0, x_873);
lean_ctor_set(x_882, 1, x_881);
lean_ctor_set(x_882, 2, x_879);
lean_ctor_set(x_882, 3, x_880);
x_883 = l_Lean_Syntax_node2(x_873, x_768, x_877, x_882);
x_884 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__21;
x_885 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_885, 0, x_883);
lean_ctor_set(x_885, 1, x_884);
x_9 = x_885;
x_10 = x_8;
goto block_767;
}
}
else
{
lean_object* x_886; lean_object* x_887; 
lean_dec(x_2);
x_886 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__21;
x_887 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_887, 0, x_4);
lean_ctor_set(x_887, 1, x_886);
x_9 = x_887;
x_10 = x_8;
goto block_767;
}
block_767:
{
uint8_t x_11; 
x_11 = !lean_is_exclusive(x_9);
if (x_11 == 0)
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; 
x_12 = lean_ctor_get(x_9, 0);
x_13 = lean_ctor_get(x_9, 1);
x_14 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__5;
lean_inc(x_5);
x_15 = l_Lean_Syntax_isOfKind(x_5, x_14);
if (x_15 == 0)
{
lean_object* x_16; uint8_t x_17; 
x_16 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__7;
lean_inc(x_5);
x_17 = l_Lean_Syntax_isOfKind(x_5, x_16);
if (x_17 == 0)
{
uint8_t x_18; 
x_18 = !lean_is_exclusive(x_10);
if (x_18 == 0)
{
lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; 
x_19 = lean_ctor_get(x_10, 0);
x_20 = lean_unsigned_to_nat(1u);
x_21 = lean_nat_add(x_19, x_20);
lean_ctor_set(x_10, 0, x_21);
x_22 = lean_ctor_get(x_7, 1);
lean_inc(x_22);
x_23 = lean_ctor_get(x_7, 5);
lean_inc(x_23);
x_24 = 0;
x_25 = l_Lean_SourceInfo_fromRef(x_23, x_24);
lean_dec(x_23);
x_26 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__8;
lean_inc(x_25);
lean_ctor_set_tag(x_9, 2);
lean_ctor_set(x_9, 1, x_26);
lean_ctor_set(x_9, 0, x_25);
x_27 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__11;
lean_inc(x_22);
x_28 = l_Lean_addMacroScope(x_22, x_27, x_19);
x_29 = lean_box(0);
x_30 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__10;
lean_inc(x_25);
x_31 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_31, 0, x_25);
lean_ctor_set(x_31, 1, x_30);
lean_ctor_set(x_31, 2, x_28);
lean_ctor_set(x_31, 3, x_29);
lean_inc(x_25);
x_32 = l_Lean_Syntax_node2(x_25, x_14, x_9, x_31);
x_33 = l_Lean_Syntax_getArg(x_32, x_20);
x_34 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__13;
lean_inc(x_25);
x_35 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_35, 0, x_25);
lean_ctor_set(x_35, 1, x_34);
x_36 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__20;
lean_inc(x_25);
x_37 = l_Lean_Syntax_node1(x_25, x_36, x_33);
x_38 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__16;
x_39 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__21;
lean_inc(x_25);
x_40 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_40, 0, x_25);
lean_ctor_set(x_40, 1, x_38);
lean_ctor_set(x_40, 2, x_39);
x_41 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__18;
lean_inc(x_40);
lean_inc(x_25);
x_42 = l_Lean_Syntax_node2(x_25, x_41, x_37, x_40);
lean_inc(x_25);
x_43 = l_Lean_Syntax_node1(x_25, x_38, x_42);
x_44 = 1;
x_45 = l_Lean_SourceInfo_fromRef(x_3, x_44);
x_46 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__22;
x_47 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_47, 0, x_45);
lean_ctor_set(x_47, 1, x_46);
x_48 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__29;
lean_inc(x_25);
x_49 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_49, 0, x_25);
lean_ctor_set(x_49, 1, x_48);
x_50 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__30;
lean_inc(x_25);
x_51 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_51, 0, x_25);
lean_ctor_set(x_51, 1, x_50);
x_52 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__31;
lean_inc(x_25);
x_53 = l_Lean_Syntax_node1(x_25, x_52, x_51);
x_54 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__28;
lean_inc(x_25);
x_55 = l_Lean_Syntax_node3(x_25, x_54, x_49, x_3, x_53);
lean_inc(x_25);
x_56 = l_Lean_Syntax_node3(x_25, x_38, x_55, x_40, x_5);
x_57 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__26;
lean_inc(x_25);
x_58 = l_Lean_Syntax_node1(x_25, x_57, x_56);
x_59 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__24;
lean_inc(x_25);
x_60 = l_Lean_Syntax_node1(x_25, x_59, x_58);
x_61 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__14;
lean_inc(x_25);
x_62 = l_Lean_Syntax_node4(x_25, x_61, x_35, x_43, x_47, x_60);
x_63 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__32;
x_64 = lean_array_push(x_63, x_62);
lean_inc(x_7);
x_65 = lean_apply_4(x_6, x_12, x_32, x_7, x_10);
if (lean_obj_tag(x_65) == 0)
{
uint8_t x_66; 
x_66 = !lean_is_exclusive(x_65);
if (x_66 == 0)
{
lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; size_t x_105; size_t x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; 
x_67 = lean_ctor_get(x_65, 0);
x_68 = lean_ctor_get(x_7, 2);
lean_inc(x_68);
lean_dec(x_7);
x_69 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__35;
lean_inc(x_25);
x_70 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_70, 0, x_25);
lean_ctor_set(x_70, 1, x_69);
x_71 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__36;
lean_inc(x_25);
x_72 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_72, 0, x_25);
lean_ctor_set(x_72, 1, x_71);
x_73 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__43;
x_74 = l_Lean_addMacroScope(x_22, x_73, x_68);
x_75 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__42;
x_76 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__45;
lean_inc(x_25);
x_77 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_77, 0, x_25);
lean_ctor_set(x_77, 1, x_75);
lean_ctor_set(x_77, 2, x_74);
lean_ctor_set(x_77, 3, x_76);
lean_inc(x_25);
x_78 = l_Lean_Syntax_node1(x_25, x_38, x_77);
x_79 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__40;
lean_inc(x_25);
x_80 = l_Lean_Syntax_node1(x_25, x_79, x_78);
x_81 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__46;
lean_inc(x_25);
x_82 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_82, 0, x_25);
lean_ctor_set(x_82, 1, x_81);
x_83 = l_Lean_SourceInfo_fromRef(x_1, x_44);
x_84 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__47;
x_85 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_85, 0, x_83);
lean_ctor_set(x_85, 1, x_84);
x_86 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__48;
lean_inc(x_25);
x_87 = l_Lean_Syntax_node2(x_25, x_86, x_85, x_67);
lean_inc(x_25);
x_88 = l_Lean_Syntax_node1(x_25, x_38, x_87);
lean_inc(x_25);
x_89 = l_Lean_Syntax_node1(x_25, x_57, x_88);
lean_inc(x_25);
x_90 = l_Lean_Syntax_node1(x_25, x_59, x_89);
x_91 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__37;
lean_inc(x_25);
x_92 = l_Lean_Syntax_node4(x_25, x_91, x_72, x_80, x_82, x_90);
lean_inc(x_25);
x_93 = l_Lean_Syntax_node1(x_25, x_38, x_92);
lean_inc(x_25);
x_94 = l_Lean_Syntax_node1(x_25, x_57, x_93);
lean_inc(x_25);
x_95 = l_Lean_Syntax_node1(x_25, x_59, x_94);
x_96 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__49;
lean_inc(x_25);
x_97 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_97, 0, x_25);
lean_ctor_set(x_97, 1, x_96);
x_98 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__34;
lean_inc(x_97);
lean_inc(x_70);
lean_inc(x_25);
x_99 = l_Lean_Syntax_node3(x_25, x_98, x_70, x_95, x_97);
x_100 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__50;
lean_inc(x_25);
x_101 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_101, 0, x_25);
lean_ctor_set(x_101, 1, x_100);
x_102 = l_Array_mkArray2___rarg(x_99, x_101);
x_103 = l_Array_append___rarg(x_13, x_64);
lean_dec(x_64);
x_104 = lean_array_get_size(x_103);
x_105 = lean_usize_of_nat(x_104);
lean_dec(x_104);
x_106 = 0;
x_107 = l_Array_mapMUnsafe_map___at___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___spec__1(x_105, x_106, x_103);
x_108 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__51;
x_109 = l_Lean_mkSepArray(x_107, x_108);
lean_dec(x_107);
x_110 = l_Array_append___rarg(x_102, x_109);
lean_dec(x_109);
lean_inc(x_25);
x_111 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_111, 0, x_25);
lean_ctor_set(x_111, 1, x_38);
lean_ctor_set(x_111, 2, x_110);
lean_inc(x_25);
x_112 = l_Lean_Syntax_node1(x_25, x_57, x_111);
lean_inc(x_25);
x_113 = l_Lean_Syntax_node1(x_25, x_59, x_112);
x_114 = l_Lean_Syntax_node3(x_25, x_98, x_70, x_113, x_97);
lean_ctor_set(x_65, 0, x_114);
return x_65;
}
else
{
lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; size_t x_154; size_t x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; 
x_115 = lean_ctor_get(x_65, 0);
x_116 = lean_ctor_get(x_65, 1);
lean_inc(x_116);
lean_inc(x_115);
lean_dec(x_65);
x_117 = lean_ctor_get(x_7, 2);
lean_inc(x_117);
lean_dec(x_7);
x_118 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__35;
lean_inc(x_25);
x_119 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_119, 0, x_25);
lean_ctor_set(x_119, 1, x_118);
x_120 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__36;
lean_inc(x_25);
x_121 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_121, 0, x_25);
lean_ctor_set(x_121, 1, x_120);
x_122 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__43;
x_123 = l_Lean_addMacroScope(x_22, x_122, x_117);
x_124 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__42;
x_125 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__45;
lean_inc(x_25);
x_126 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_126, 0, x_25);
lean_ctor_set(x_126, 1, x_124);
lean_ctor_set(x_126, 2, x_123);
lean_ctor_set(x_126, 3, x_125);
lean_inc(x_25);
x_127 = l_Lean_Syntax_node1(x_25, x_38, x_126);
x_128 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__40;
lean_inc(x_25);
x_129 = l_Lean_Syntax_node1(x_25, x_128, x_127);
x_130 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__46;
lean_inc(x_25);
x_131 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_131, 0, x_25);
lean_ctor_set(x_131, 1, x_130);
x_132 = l_Lean_SourceInfo_fromRef(x_1, x_44);
x_133 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__47;
x_134 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_134, 0, x_132);
lean_ctor_set(x_134, 1, x_133);
x_135 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__48;
lean_inc(x_25);
x_136 = l_Lean_Syntax_node2(x_25, x_135, x_134, x_115);
lean_inc(x_25);
x_137 = l_Lean_Syntax_node1(x_25, x_38, x_136);
lean_inc(x_25);
x_138 = l_Lean_Syntax_node1(x_25, x_57, x_137);
lean_inc(x_25);
x_139 = l_Lean_Syntax_node1(x_25, x_59, x_138);
x_140 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__37;
lean_inc(x_25);
x_141 = l_Lean_Syntax_node4(x_25, x_140, x_121, x_129, x_131, x_139);
lean_inc(x_25);
x_142 = l_Lean_Syntax_node1(x_25, x_38, x_141);
lean_inc(x_25);
x_143 = l_Lean_Syntax_node1(x_25, x_57, x_142);
lean_inc(x_25);
x_144 = l_Lean_Syntax_node1(x_25, x_59, x_143);
x_145 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__49;
lean_inc(x_25);
x_146 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_146, 0, x_25);
lean_ctor_set(x_146, 1, x_145);
x_147 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__34;
lean_inc(x_146);
lean_inc(x_119);
lean_inc(x_25);
x_148 = l_Lean_Syntax_node3(x_25, x_147, x_119, x_144, x_146);
x_149 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__50;
lean_inc(x_25);
x_150 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_150, 0, x_25);
lean_ctor_set(x_150, 1, x_149);
x_151 = l_Array_mkArray2___rarg(x_148, x_150);
x_152 = l_Array_append___rarg(x_13, x_64);
lean_dec(x_64);
x_153 = lean_array_get_size(x_152);
x_154 = lean_usize_of_nat(x_153);
lean_dec(x_153);
x_155 = 0;
x_156 = l_Array_mapMUnsafe_map___at___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___spec__1(x_154, x_155, x_152);
x_157 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__51;
x_158 = l_Lean_mkSepArray(x_156, x_157);
lean_dec(x_156);
x_159 = l_Array_append___rarg(x_151, x_158);
lean_dec(x_158);
lean_inc(x_25);
x_160 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_160, 0, x_25);
lean_ctor_set(x_160, 1, x_38);
lean_ctor_set(x_160, 2, x_159);
lean_inc(x_25);
x_161 = l_Lean_Syntax_node1(x_25, x_57, x_160);
lean_inc(x_25);
x_162 = l_Lean_Syntax_node1(x_25, x_59, x_161);
x_163 = l_Lean_Syntax_node3(x_25, x_147, x_119, x_162, x_146);
x_164 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_164, 0, x_163);
lean_ctor_set(x_164, 1, x_116);
return x_164;
}
}
else
{
uint8_t x_165; 
lean_dec(x_64);
lean_dec(x_25);
lean_dec(x_22);
lean_dec(x_13);
lean_dec(x_7);
x_165 = !lean_is_exclusive(x_65);
if (x_165 == 0)
{
return x_65;
}
else
{
lean_object* x_166; lean_object* x_167; lean_object* x_168; 
x_166 = lean_ctor_get(x_65, 0);
x_167 = lean_ctor_get(x_65, 1);
lean_inc(x_167);
lean_inc(x_166);
lean_dec(x_65);
x_168 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_168, 0, x_166);
lean_ctor_set(x_168, 1, x_167);
return x_168;
}
}
}
else
{
lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; uint8_t x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; uint8_t x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; 
x_169 = lean_ctor_get(x_10, 0);
x_170 = lean_ctor_get(x_10, 1);
lean_inc(x_170);
lean_inc(x_169);
lean_dec(x_10);
x_171 = lean_unsigned_to_nat(1u);
x_172 = lean_nat_add(x_169, x_171);
x_173 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_173, 0, x_172);
lean_ctor_set(x_173, 1, x_170);
x_174 = lean_ctor_get(x_7, 1);
lean_inc(x_174);
x_175 = lean_ctor_get(x_7, 5);
lean_inc(x_175);
x_176 = 0;
x_177 = l_Lean_SourceInfo_fromRef(x_175, x_176);
lean_dec(x_175);
x_178 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__8;
lean_inc(x_177);
lean_ctor_set_tag(x_9, 2);
lean_ctor_set(x_9, 1, x_178);
lean_ctor_set(x_9, 0, x_177);
x_179 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__11;
lean_inc(x_174);
x_180 = l_Lean_addMacroScope(x_174, x_179, x_169);
x_181 = lean_box(0);
x_182 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__10;
lean_inc(x_177);
x_183 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_183, 0, x_177);
lean_ctor_set(x_183, 1, x_182);
lean_ctor_set(x_183, 2, x_180);
lean_ctor_set(x_183, 3, x_181);
lean_inc(x_177);
x_184 = l_Lean_Syntax_node2(x_177, x_14, x_9, x_183);
x_185 = l_Lean_Syntax_getArg(x_184, x_171);
x_186 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__13;
lean_inc(x_177);
x_187 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_187, 0, x_177);
lean_ctor_set(x_187, 1, x_186);
x_188 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__20;
lean_inc(x_177);
x_189 = l_Lean_Syntax_node1(x_177, x_188, x_185);
x_190 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__16;
x_191 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__21;
lean_inc(x_177);
x_192 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_192, 0, x_177);
lean_ctor_set(x_192, 1, x_190);
lean_ctor_set(x_192, 2, x_191);
x_193 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__18;
lean_inc(x_192);
lean_inc(x_177);
x_194 = l_Lean_Syntax_node2(x_177, x_193, x_189, x_192);
lean_inc(x_177);
x_195 = l_Lean_Syntax_node1(x_177, x_190, x_194);
x_196 = 1;
x_197 = l_Lean_SourceInfo_fromRef(x_3, x_196);
x_198 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__22;
x_199 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_199, 0, x_197);
lean_ctor_set(x_199, 1, x_198);
x_200 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__29;
lean_inc(x_177);
x_201 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_201, 0, x_177);
lean_ctor_set(x_201, 1, x_200);
x_202 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__30;
lean_inc(x_177);
x_203 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_203, 0, x_177);
lean_ctor_set(x_203, 1, x_202);
x_204 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__31;
lean_inc(x_177);
x_205 = l_Lean_Syntax_node1(x_177, x_204, x_203);
x_206 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__28;
lean_inc(x_177);
x_207 = l_Lean_Syntax_node3(x_177, x_206, x_201, x_3, x_205);
lean_inc(x_177);
x_208 = l_Lean_Syntax_node3(x_177, x_190, x_207, x_192, x_5);
x_209 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__26;
lean_inc(x_177);
x_210 = l_Lean_Syntax_node1(x_177, x_209, x_208);
x_211 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__24;
lean_inc(x_177);
x_212 = l_Lean_Syntax_node1(x_177, x_211, x_210);
x_213 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__14;
lean_inc(x_177);
x_214 = l_Lean_Syntax_node4(x_177, x_213, x_187, x_195, x_199, x_212);
x_215 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__32;
x_216 = lean_array_push(x_215, x_214);
lean_inc(x_7);
x_217 = lean_apply_4(x_6, x_12, x_184, x_7, x_173);
if (lean_obj_tag(x_217) == 0)
{
lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; size_t x_258; size_t x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; 
x_218 = lean_ctor_get(x_217, 0);
lean_inc(x_218);
x_219 = lean_ctor_get(x_217, 1);
lean_inc(x_219);
if (lean_is_exclusive(x_217)) {
 lean_ctor_release(x_217, 0);
 lean_ctor_release(x_217, 1);
 x_220 = x_217;
} else {
 lean_dec_ref(x_217);
 x_220 = lean_box(0);
}
x_221 = lean_ctor_get(x_7, 2);
lean_inc(x_221);
lean_dec(x_7);
x_222 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__35;
lean_inc(x_177);
x_223 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_223, 0, x_177);
lean_ctor_set(x_223, 1, x_222);
x_224 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__36;
lean_inc(x_177);
x_225 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_225, 0, x_177);
lean_ctor_set(x_225, 1, x_224);
x_226 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__43;
x_227 = l_Lean_addMacroScope(x_174, x_226, x_221);
x_228 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__42;
x_229 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__45;
lean_inc(x_177);
x_230 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_230, 0, x_177);
lean_ctor_set(x_230, 1, x_228);
lean_ctor_set(x_230, 2, x_227);
lean_ctor_set(x_230, 3, x_229);
lean_inc(x_177);
x_231 = l_Lean_Syntax_node1(x_177, x_190, x_230);
x_232 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__40;
lean_inc(x_177);
x_233 = l_Lean_Syntax_node1(x_177, x_232, x_231);
x_234 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__46;
lean_inc(x_177);
x_235 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_235, 0, x_177);
lean_ctor_set(x_235, 1, x_234);
x_236 = l_Lean_SourceInfo_fromRef(x_1, x_196);
x_237 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__47;
x_238 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_238, 0, x_236);
lean_ctor_set(x_238, 1, x_237);
x_239 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__48;
lean_inc(x_177);
x_240 = l_Lean_Syntax_node2(x_177, x_239, x_238, x_218);
lean_inc(x_177);
x_241 = l_Lean_Syntax_node1(x_177, x_190, x_240);
lean_inc(x_177);
x_242 = l_Lean_Syntax_node1(x_177, x_209, x_241);
lean_inc(x_177);
x_243 = l_Lean_Syntax_node1(x_177, x_211, x_242);
x_244 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__37;
lean_inc(x_177);
x_245 = l_Lean_Syntax_node4(x_177, x_244, x_225, x_233, x_235, x_243);
lean_inc(x_177);
x_246 = l_Lean_Syntax_node1(x_177, x_190, x_245);
lean_inc(x_177);
x_247 = l_Lean_Syntax_node1(x_177, x_209, x_246);
lean_inc(x_177);
x_248 = l_Lean_Syntax_node1(x_177, x_211, x_247);
x_249 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__49;
lean_inc(x_177);
x_250 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_250, 0, x_177);
lean_ctor_set(x_250, 1, x_249);
x_251 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__34;
lean_inc(x_250);
lean_inc(x_223);
lean_inc(x_177);
x_252 = l_Lean_Syntax_node3(x_177, x_251, x_223, x_248, x_250);
x_253 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__50;
lean_inc(x_177);
x_254 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_254, 0, x_177);
lean_ctor_set(x_254, 1, x_253);
x_255 = l_Array_mkArray2___rarg(x_252, x_254);
x_256 = l_Array_append___rarg(x_13, x_216);
lean_dec(x_216);
x_257 = lean_array_get_size(x_256);
x_258 = lean_usize_of_nat(x_257);
lean_dec(x_257);
x_259 = 0;
x_260 = l_Array_mapMUnsafe_map___at___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___spec__1(x_258, x_259, x_256);
x_261 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__51;
x_262 = l_Lean_mkSepArray(x_260, x_261);
lean_dec(x_260);
x_263 = l_Array_append___rarg(x_255, x_262);
lean_dec(x_262);
lean_inc(x_177);
x_264 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_264, 0, x_177);
lean_ctor_set(x_264, 1, x_190);
lean_ctor_set(x_264, 2, x_263);
lean_inc(x_177);
x_265 = l_Lean_Syntax_node1(x_177, x_209, x_264);
lean_inc(x_177);
x_266 = l_Lean_Syntax_node1(x_177, x_211, x_265);
x_267 = l_Lean_Syntax_node3(x_177, x_251, x_223, x_266, x_250);
if (lean_is_scalar(x_220)) {
 x_268 = lean_alloc_ctor(0, 2, 0);
} else {
 x_268 = x_220;
}
lean_ctor_set(x_268, 0, x_267);
lean_ctor_set(x_268, 1, x_219);
return x_268;
}
else
{
lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; 
lean_dec(x_216);
lean_dec(x_177);
lean_dec(x_174);
lean_dec(x_13);
lean_dec(x_7);
x_269 = lean_ctor_get(x_217, 0);
lean_inc(x_269);
x_270 = lean_ctor_get(x_217, 1);
lean_inc(x_270);
if (lean_is_exclusive(x_217)) {
 lean_ctor_release(x_217, 0);
 lean_ctor_release(x_217, 1);
 x_271 = x_217;
} else {
 lean_dec_ref(x_217);
 x_271 = lean_box(0);
}
if (lean_is_scalar(x_271)) {
 x_272 = lean_alloc_ctor(1, 2, 0);
} else {
 x_272 = x_271;
}
lean_ctor_set(x_272, 0, x_269);
lean_ctor_set(x_272, 1, x_270);
return x_272;
}
}
}
else
{
lean_object* x_273; uint8_t x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; 
lean_dec(x_5);
lean_dec(x_3);
x_273 = lean_ctor_get(x_7, 5);
lean_inc(x_273);
x_274 = 0;
x_275 = l_Lean_SourceInfo_fromRef(x_273, x_274);
lean_dec(x_273);
x_276 = lean_ctor_get(x_7, 2);
lean_inc(x_276);
x_277 = lean_ctor_get(x_7, 1);
lean_inc(x_277);
x_278 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__8;
lean_inc(x_275);
lean_ctor_set_tag(x_9, 2);
lean_ctor_set(x_9, 1, x_278);
lean_ctor_set(x_9, 0, x_275);
x_279 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__11;
lean_inc(x_276);
lean_inc(x_277);
x_280 = l_Lean_addMacroScope(x_277, x_279, x_276);
x_281 = lean_box(0);
x_282 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__10;
lean_inc(x_275);
x_283 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_283, 0, x_275);
lean_ctor_set(x_283, 1, x_282);
lean_ctor_set(x_283, 2, x_280);
lean_ctor_set(x_283, 3, x_281);
lean_inc(x_275);
x_284 = l_Lean_Syntax_node2(x_275, x_14, x_9, x_283);
x_285 = lean_apply_4(x_6, x_12, x_284, x_7, x_10);
if (lean_obj_tag(x_285) == 0)
{
uint8_t x_286; 
x_286 = !lean_is_exclusive(x_285);
if (x_286 == 0)
{
lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; uint8_t x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; size_t x_329; size_t x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; 
x_287 = lean_ctor_get(x_285, 0);
x_288 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__35;
lean_inc(x_275);
x_289 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_289, 0, x_275);
lean_ctor_set(x_289, 1, x_288);
x_290 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__36;
lean_inc(x_275);
x_291 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_291, 0, x_275);
lean_ctor_set(x_291, 1, x_290);
x_292 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__43;
x_293 = l_Lean_addMacroScope(x_277, x_292, x_276);
x_294 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__42;
x_295 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__45;
lean_inc(x_275);
x_296 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_296, 0, x_275);
lean_ctor_set(x_296, 1, x_294);
lean_ctor_set(x_296, 2, x_293);
lean_ctor_set(x_296, 3, x_295);
x_297 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__16;
lean_inc(x_275);
x_298 = l_Lean_Syntax_node1(x_275, x_297, x_296);
x_299 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__40;
lean_inc(x_275);
x_300 = l_Lean_Syntax_node1(x_275, x_299, x_298);
x_301 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__46;
lean_inc(x_275);
x_302 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_302, 0, x_275);
lean_ctor_set(x_302, 1, x_301);
x_303 = 1;
x_304 = l_Lean_SourceInfo_fromRef(x_1, x_303);
x_305 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__47;
x_306 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_306, 0, x_304);
lean_ctor_set(x_306, 1, x_305);
x_307 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__48;
lean_inc(x_275);
x_308 = l_Lean_Syntax_node2(x_275, x_307, x_306, x_287);
lean_inc(x_275);
x_309 = l_Lean_Syntax_node1(x_275, x_297, x_308);
x_310 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__26;
lean_inc(x_275);
x_311 = l_Lean_Syntax_node1(x_275, x_310, x_309);
x_312 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__24;
lean_inc(x_275);
x_313 = l_Lean_Syntax_node1(x_275, x_312, x_311);
x_314 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__37;
lean_inc(x_275);
x_315 = l_Lean_Syntax_node4(x_275, x_314, x_291, x_300, x_302, x_313);
lean_inc(x_275);
x_316 = l_Lean_Syntax_node1(x_275, x_297, x_315);
lean_inc(x_275);
x_317 = l_Lean_Syntax_node1(x_275, x_310, x_316);
lean_inc(x_275);
x_318 = l_Lean_Syntax_node1(x_275, x_312, x_317);
x_319 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__49;
lean_inc(x_275);
x_320 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_320, 0, x_275);
lean_ctor_set(x_320, 1, x_319);
x_321 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__34;
lean_inc(x_320);
lean_inc(x_289);
lean_inc(x_275);
x_322 = l_Lean_Syntax_node3(x_275, x_321, x_289, x_318, x_320);
x_323 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__50;
lean_inc(x_275);
x_324 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_324, 0, x_275);
lean_ctor_set(x_324, 1, x_323);
x_325 = l_Array_mkArray2___rarg(x_322, x_324);
x_326 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__21;
x_327 = l_Array_append___rarg(x_13, x_326);
x_328 = lean_array_get_size(x_327);
x_329 = lean_usize_of_nat(x_328);
lean_dec(x_328);
x_330 = 0;
x_331 = l_Array_mapMUnsafe_map___at___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___spec__1(x_329, x_330, x_327);
x_332 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__52;
x_333 = l_Lean_mkSepArray(x_331, x_332);
lean_dec(x_331);
x_334 = l_Array_append___rarg(x_325, x_333);
lean_dec(x_333);
lean_inc(x_275);
x_335 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_335, 0, x_275);
lean_ctor_set(x_335, 1, x_297);
lean_ctor_set(x_335, 2, x_334);
lean_inc(x_275);
x_336 = l_Lean_Syntax_node1(x_275, x_310, x_335);
lean_inc(x_275);
x_337 = l_Lean_Syntax_node1(x_275, x_312, x_336);
x_338 = l_Lean_Syntax_node3(x_275, x_321, x_289, x_337, x_320);
lean_ctor_set(x_285, 0, x_338);
return x_285;
}
else
{
lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; uint8_t x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; size_t x_382; size_t x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; 
x_339 = lean_ctor_get(x_285, 0);
x_340 = lean_ctor_get(x_285, 1);
lean_inc(x_340);
lean_inc(x_339);
lean_dec(x_285);
x_341 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__35;
lean_inc(x_275);
x_342 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_342, 0, x_275);
lean_ctor_set(x_342, 1, x_341);
x_343 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__36;
lean_inc(x_275);
x_344 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_344, 0, x_275);
lean_ctor_set(x_344, 1, x_343);
x_345 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__43;
x_346 = l_Lean_addMacroScope(x_277, x_345, x_276);
x_347 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__42;
x_348 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__45;
lean_inc(x_275);
x_349 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_349, 0, x_275);
lean_ctor_set(x_349, 1, x_347);
lean_ctor_set(x_349, 2, x_346);
lean_ctor_set(x_349, 3, x_348);
x_350 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__16;
lean_inc(x_275);
x_351 = l_Lean_Syntax_node1(x_275, x_350, x_349);
x_352 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__40;
lean_inc(x_275);
x_353 = l_Lean_Syntax_node1(x_275, x_352, x_351);
x_354 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__46;
lean_inc(x_275);
x_355 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_355, 0, x_275);
lean_ctor_set(x_355, 1, x_354);
x_356 = 1;
x_357 = l_Lean_SourceInfo_fromRef(x_1, x_356);
x_358 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__47;
x_359 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_359, 0, x_357);
lean_ctor_set(x_359, 1, x_358);
x_360 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__48;
lean_inc(x_275);
x_361 = l_Lean_Syntax_node2(x_275, x_360, x_359, x_339);
lean_inc(x_275);
x_362 = l_Lean_Syntax_node1(x_275, x_350, x_361);
x_363 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__26;
lean_inc(x_275);
x_364 = l_Lean_Syntax_node1(x_275, x_363, x_362);
x_365 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__24;
lean_inc(x_275);
x_366 = l_Lean_Syntax_node1(x_275, x_365, x_364);
x_367 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__37;
lean_inc(x_275);
x_368 = l_Lean_Syntax_node4(x_275, x_367, x_344, x_353, x_355, x_366);
lean_inc(x_275);
x_369 = l_Lean_Syntax_node1(x_275, x_350, x_368);
lean_inc(x_275);
x_370 = l_Lean_Syntax_node1(x_275, x_363, x_369);
lean_inc(x_275);
x_371 = l_Lean_Syntax_node1(x_275, x_365, x_370);
x_372 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__49;
lean_inc(x_275);
x_373 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_373, 0, x_275);
lean_ctor_set(x_373, 1, x_372);
x_374 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__34;
lean_inc(x_373);
lean_inc(x_342);
lean_inc(x_275);
x_375 = l_Lean_Syntax_node3(x_275, x_374, x_342, x_371, x_373);
x_376 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__50;
lean_inc(x_275);
x_377 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_377, 0, x_275);
lean_ctor_set(x_377, 1, x_376);
x_378 = l_Array_mkArray2___rarg(x_375, x_377);
x_379 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__21;
x_380 = l_Array_append___rarg(x_13, x_379);
x_381 = lean_array_get_size(x_380);
x_382 = lean_usize_of_nat(x_381);
lean_dec(x_381);
x_383 = 0;
x_384 = l_Array_mapMUnsafe_map___at___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___spec__1(x_382, x_383, x_380);
x_385 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__52;
x_386 = l_Lean_mkSepArray(x_384, x_385);
lean_dec(x_384);
x_387 = l_Array_append___rarg(x_378, x_386);
lean_dec(x_386);
lean_inc(x_275);
x_388 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_388, 0, x_275);
lean_ctor_set(x_388, 1, x_350);
lean_ctor_set(x_388, 2, x_387);
lean_inc(x_275);
x_389 = l_Lean_Syntax_node1(x_275, x_363, x_388);
lean_inc(x_275);
x_390 = l_Lean_Syntax_node1(x_275, x_365, x_389);
x_391 = l_Lean_Syntax_node3(x_275, x_374, x_342, x_390, x_373);
x_392 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_392, 0, x_391);
lean_ctor_set(x_392, 1, x_340);
return x_392;
}
}
else
{
uint8_t x_393; 
lean_dec(x_277);
lean_dec(x_276);
lean_dec(x_275);
lean_dec(x_13);
x_393 = !lean_is_exclusive(x_285);
if (x_393 == 0)
{
return x_285;
}
else
{
lean_object* x_394; lean_object* x_395; lean_object* x_396; 
x_394 = lean_ctor_get(x_285, 0);
x_395 = lean_ctor_get(x_285, 1);
lean_inc(x_395);
lean_inc(x_394);
lean_dec(x_285);
x_396 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_396, 0, x_394);
lean_ctor_set(x_396, 1, x_395);
return x_396;
}
}
}
}
else
{
lean_object* x_397; 
lean_dec(x_3);
lean_inc(x_7);
x_397 = lean_apply_4(x_6, x_12, x_5, x_7, x_10);
if (lean_obj_tag(x_397) == 0)
{
uint8_t x_398; 
x_398 = !lean_is_exclusive(x_397);
if (x_398 == 0)
{
lean_object* x_399; lean_object* x_400; uint8_t x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; uint8_t x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; size_t x_445; size_t x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; 
x_399 = lean_ctor_get(x_397, 0);
x_400 = lean_ctor_get(x_7, 5);
lean_inc(x_400);
x_401 = 0;
x_402 = l_Lean_SourceInfo_fromRef(x_400, x_401);
lean_dec(x_400);
x_403 = lean_ctor_get(x_7, 2);
lean_inc(x_403);
x_404 = lean_ctor_get(x_7, 1);
lean_inc(x_404);
lean_dec(x_7);
x_405 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__35;
lean_inc(x_402);
lean_ctor_set_tag(x_9, 2);
lean_ctor_set(x_9, 1, x_405);
lean_ctor_set(x_9, 0, x_402);
x_406 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__36;
lean_inc(x_402);
x_407 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_407, 0, x_402);
lean_ctor_set(x_407, 1, x_406);
x_408 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__43;
x_409 = l_Lean_addMacroScope(x_404, x_408, x_403);
x_410 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__42;
x_411 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__53;
lean_inc(x_402);
x_412 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_412, 0, x_402);
lean_ctor_set(x_412, 1, x_410);
lean_ctor_set(x_412, 2, x_409);
lean_ctor_set(x_412, 3, x_411);
x_413 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__16;
lean_inc(x_402);
x_414 = l_Lean_Syntax_node1(x_402, x_413, x_412);
x_415 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__40;
lean_inc(x_402);
x_416 = l_Lean_Syntax_node1(x_402, x_415, x_414);
x_417 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__46;
lean_inc(x_402);
x_418 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_418, 0, x_402);
lean_ctor_set(x_418, 1, x_417);
x_419 = 1;
x_420 = l_Lean_SourceInfo_fromRef(x_1, x_419);
x_421 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__47;
x_422 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_422, 0, x_420);
lean_ctor_set(x_422, 1, x_421);
x_423 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__48;
lean_inc(x_402);
x_424 = l_Lean_Syntax_node2(x_402, x_423, x_422, x_399);
lean_inc(x_402);
x_425 = l_Lean_Syntax_node1(x_402, x_413, x_424);
x_426 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__26;
lean_inc(x_402);
x_427 = l_Lean_Syntax_node1(x_402, x_426, x_425);
x_428 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__24;
lean_inc(x_402);
x_429 = l_Lean_Syntax_node1(x_402, x_428, x_427);
x_430 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__37;
lean_inc(x_402);
x_431 = l_Lean_Syntax_node4(x_402, x_430, x_407, x_416, x_418, x_429);
lean_inc(x_402);
x_432 = l_Lean_Syntax_node1(x_402, x_413, x_431);
lean_inc(x_402);
x_433 = l_Lean_Syntax_node1(x_402, x_426, x_432);
lean_inc(x_402);
x_434 = l_Lean_Syntax_node1(x_402, x_428, x_433);
x_435 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__49;
lean_inc(x_402);
x_436 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_436, 0, x_402);
lean_ctor_set(x_436, 1, x_435);
x_437 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__34;
lean_inc(x_436);
lean_inc(x_9);
lean_inc(x_402);
x_438 = l_Lean_Syntax_node3(x_402, x_437, x_9, x_434, x_436);
x_439 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__50;
lean_inc(x_402);
x_440 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_440, 0, x_402);
lean_ctor_set(x_440, 1, x_439);
x_441 = l_Array_mkArray2___rarg(x_438, x_440);
x_442 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__21;
x_443 = l_Array_append___rarg(x_13, x_442);
x_444 = lean_array_get_size(x_443);
x_445 = lean_usize_of_nat(x_444);
lean_dec(x_444);
x_446 = 0;
x_447 = l_Array_mapMUnsafe_map___at___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___spec__1(x_445, x_446, x_443);
x_448 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__52;
x_449 = l_Lean_mkSepArray(x_447, x_448);
lean_dec(x_447);
x_450 = l_Array_append___rarg(x_441, x_449);
lean_dec(x_449);
lean_inc(x_402);
x_451 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_451, 0, x_402);
lean_ctor_set(x_451, 1, x_413);
lean_ctor_set(x_451, 2, x_450);
lean_inc(x_402);
x_452 = l_Lean_Syntax_node1(x_402, x_426, x_451);
lean_inc(x_402);
x_453 = l_Lean_Syntax_node1(x_402, x_428, x_452);
x_454 = l_Lean_Syntax_node3(x_402, x_437, x_9, x_453, x_436);
lean_ctor_set(x_397, 0, x_454);
return x_397;
}
else
{
lean_object* x_455; lean_object* x_456; lean_object* x_457; uint8_t x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; uint8_t x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; size_t x_502; size_t x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; 
x_455 = lean_ctor_get(x_397, 0);
x_456 = lean_ctor_get(x_397, 1);
lean_inc(x_456);
lean_inc(x_455);
lean_dec(x_397);
x_457 = lean_ctor_get(x_7, 5);
lean_inc(x_457);
x_458 = 0;
x_459 = l_Lean_SourceInfo_fromRef(x_457, x_458);
lean_dec(x_457);
x_460 = lean_ctor_get(x_7, 2);
lean_inc(x_460);
x_461 = lean_ctor_get(x_7, 1);
lean_inc(x_461);
lean_dec(x_7);
x_462 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__35;
lean_inc(x_459);
lean_ctor_set_tag(x_9, 2);
lean_ctor_set(x_9, 1, x_462);
lean_ctor_set(x_9, 0, x_459);
x_463 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__36;
lean_inc(x_459);
x_464 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_464, 0, x_459);
lean_ctor_set(x_464, 1, x_463);
x_465 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__43;
x_466 = l_Lean_addMacroScope(x_461, x_465, x_460);
x_467 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__42;
x_468 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__53;
lean_inc(x_459);
x_469 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_469, 0, x_459);
lean_ctor_set(x_469, 1, x_467);
lean_ctor_set(x_469, 2, x_466);
lean_ctor_set(x_469, 3, x_468);
x_470 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__16;
lean_inc(x_459);
x_471 = l_Lean_Syntax_node1(x_459, x_470, x_469);
x_472 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__40;
lean_inc(x_459);
x_473 = l_Lean_Syntax_node1(x_459, x_472, x_471);
x_474 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__46;
lean_inc(x_459);
x_475 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_475, 0, x_459);
lean_ctor_set(x_475, 1, x_474);
x_476 = 1;
x_477 = l_Lean_SourceInfo_fromRef(x_1, x_476);
x_478 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__47;
x_479 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_479, 0, x_477);
lean_ctor_set(x_479, 1, x_478);
x_480 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__48;
lean_inc(x_459);
x_481 = l_Lean_Syntax_node2(x_459, x_480, x_479, x_455);
lean_inc(x_459);
x_482 = l_Lean_Syntax_node1(x_459, x_470, x_481);
x_483 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__26;
lean_inc(x_459);
x_484 = l_Lean_Syntax_node1(x_459, x_483, x_482);
x_485 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__24;
lean_inc(x_459);
x_486 = l_Lean_Syntax_node1(x_459, x_485, x_484);
x_487 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__37;
lean_inc(x_459);
x_488 = l_Lean_Syntax_node4(x_459, x_487, x_464, x_473, x_475, x_486);
lean_inc(x_459);
x_489 = l_Lean_Syntax_node1(x_459, x_470, x_488);
lean_inc(x_459);
x_490 = l_Lean_Syntax_node1(x_459, x_483, x_489);
lean_inc(x_459);
x_491 = l_Lean_Syntax_node1(x_459, x_485, x_490);
x_492 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__49;
lean_inc(x_459);
x_493 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_493, 0, x_459);
lean_ctor_set(x_493, 1, x_492);
x_494 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__34;
lean_inc(x_493);
lean_inc(x_9);
lean_inc(x_459);
x_495 = l_Lean_Syntax_node3(x_459, x_494, x_9, x_491, x_493);
x_496 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__50;
lean_inc(x_459);
x_497 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_497, 0, x_459);
lean_ctor_set(x_497, 1, x_496);
x_498 = l_Array_mkArray2___rarg(x_495, x_497);
x_499 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__21;
x_500 = l_Array_append___rarg(x_13, x_499);
x_501 = lean_array_get_size(x_500);
x_502 = lean_usize_of_nat(x_501);
lean_dec(x_501);
x_503 = 0;
x_504 = l_Array_mapMUnsafe_map___at___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___spec__1(x_502, x_503, x_500);
x_505 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__52;
x_506 = l_Lean_mkSepArray(x_504, x_505);
lean_dec(x_504);
x_507 = l_Array_append___rarg(x_498, x_506);
lean_dec(x_506);
lean_inc(x_459);
x_508 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_508, 0, x_459);
lean_ctor_set(x_508, 1, x_470);
lean_ctor_set(x_508, 2, x_507);
lean_inc(x_459);
x_509 = l_Lean_Syntax_node1(x_459, x_483, x_508);
lean_inc(x_459);
x_510 = l_Lean_Syntax_node1(x_459, x_485, x_509);
x_511 = l_Lean_Syntax_node3(x_459, x_494, x_9, x_510, x_493);
x_512 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_512, 0, x_511);
lean_ctor_set(x_512, 1, x_456);
return x_512;
}
}
else
{
uint8_t x_513; 
lean_free_object(x_9);
lean_dec(x_13);
lean_dec(x_7);
x_513 = !lean_is_exclusive(x_397);
if (x_513 == 0)
{
return x_397;
}
else
{
lean_object* x_514; lean_object* x_515; lean_object* x_516; 
x_514 = lean_ctor_get(x_397, 0);
x_515 = lean_ctor_get(x_397, 1);
lean_inc(x_515);
lean_inc(x_514);
lean_dec(x_397);
x_516 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_516, 0, x_514);
lean_ctor_set(x_516, 1, x_515);
return x_516;
}
}
}
}
else
{
lean_object* x_517; lean_object* x_518; lean_object* x_519; uint8_t x_520; 
x_517 = lean_ctor_get(x_9, 0);
x_518 = lean_ctor_get(x_9, 1);
lean_inc(x_518);
lean_inc(x_517);
lean_dec(x_9);
x_519 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__5;
lean_inc(x_5);
x_520 = l_Lean_Syntax_isOfKind(x_5, x_519);
if (x_520 == 0)
{
lean_object* x_521; uint8_t x_522; 
x_521 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__7;
lean_inc(x_5);
x_522 = l_Lean_Syntax_isOfKind(x_5, x_521);
if (x_522 == 0)
{
lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; uint8_t x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; uint8_t x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; 
x_523 = lean_ctor_get(x_10, 0);
lean_inc(x_523);
x_524 = lean_ctor_get(x_10, 1);
lean_inc(x_524);
if (lean_is_exclusive(x_10)) {
 lean_ctor_release(x_10, 0);
 lean_ctor_release(x_10, 1);
 x_525 = x_10;
} else {
 lean_dec_ref(x_10);
 x_525 = lean_box(0);
}
x_526 = lean_unsigned_to_nat(1u);
x_527 = lean_nat_add(x_523, x_526);
if (lean_is_scalar(x_525)) {
 x_528 = lean_alloc_ctor(0, 2, 0);
} else {
 x_528 = x_525;
}
lean_ctor_set(x_528, 0, x_527);
lean_ctor_set(x_528, 1, x_524);
x_529 = lean_ctor_get(x_7, 1);
lean_inc(x_529);
x_530 = lean_ctor_get(x_7, 5);
lean_inc(x_530);
x_531 = 0;
x_532 = l_Lean_SourceInfo_fromRef(x_530, x_531);
lean_dec(x_530);
x_533 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__8;
lean_inc(x_532);
x_534 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_534, 0, x_532);
lean_ctor_set(x_534, 1, x_533);
x_535 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__11;
lean_inc(x_529);
x_536 = l_Lean_addMacroScope(x_529, x_535, x_523);
x_537 = lean_box(0);
x_538 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__10;
lean_inc(x_532);
x_539 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_539, 0, x_532);
lean_ctor_set(x_539, 1, x_538);
lean_ctor_set(x_539, 2, x_536);
lean_ctor_set(x_539, 3, x_537);
lean_inc(x_532);
x_540 = l_Lean_Syntax_node2(x_532, x_519, x_534, x_539);
x_541 = l_Lean_Syntax_getArg(x_540, x_526);
x_542 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__13;
lean_inc(x_532);
x_543 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_543, 0, x_532);
lean_ctor_set(x_543, 1, x_542);
x_544 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__20;
lean_inc(x_532);
x_545 = l_Lean_Syntax_node1(x_532, x_544, x_541);
x_546 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__16;
x_547 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__21;
lean_inc(x_532);
x_548 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_548, 0, x_532);
lean_ctor_set(x_548, 1, x_546);
lean_ctor_set(x_548, 2, x_547);
x_549 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__18;
lean_inc(x_548);
lean_inc(x_532);
x_550 = l_Lean_Syntax_node2(x_532, x_549, x_545, x_548);
lean_inc(x_532);
x_551 = l_Lean_Syntax_node1(x_532, x_546, x_550);
x_552 = 1;
x_553 = l_Lean_SourceInfo_fromRef(x_3, x_552);
x_554 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__22;
x_555 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_555, 0, x_553);
lean_ctor_set(x_555, 1, x_554);
x_556 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__29;
lean_inc(x_532);
x_557 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_557, 0, x_532);
lean_ctor_set(x_557, 1, x_556);
x_558 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__30;
lean_inc(x_532);
x_559 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_559, 0, x_532);
lean_ctor_set(x_559, 1, x_558);
x_560 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__31;
lean_inc(x_532);
x_561 = l_Lean_Syntax_node1(x_532, x_560, x_559);
x_562 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__28;
lean_inc(x_532);
x_563 = l_Lean_Syntax_node3(x_532, x_562, x_557, x_3, x_561);
lean_inc(x_532);
x_564 = l_Lean_Syntax_node3(x_532, x_546, x_563, x_548, x_5);
x_565 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__26;
lean_inc(x_532);
x_566 = l_Lean_Syntax_node1(x_532, x_565, x_564);
x_567 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__24;
lean_inc(x_532);
x_568 = l_Lean_Syntax_node1(x_532, x_567, x_566);
x_569 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__14;
lean_inc(x_532);
x_570 = l_Lean_Syntax_node4(x_532, x_569, x_543, x_551, x_555, x_568);
x_571 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__32;
x_572 = lean_array_push(x_571, x_570);
lean_inc(x_7);
x_573 = lean_apply_4(x_6, x_517, x_540, x_7, x_528);
if (lean_obj_tag(x_573) == 0)
{
lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; size_t x_614; size_t x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; 
x_574 = lean_ctor_get(x_573, 0);
lean_inc(x_574);
x_575 = lean_ctor_get(x_573, 1);
lean_inc(x_575);
if (lean_is_exclusive(x_573)) {
 lean_ctor_release(x_573, 0);
 lean_ctor_release(x_573, 1);
 x_576 = x_573;
} else {
 lean_dec_ref(x_573);
 x_576 = lean_box(0);
}
x_577 = lean_ctor_get(x_7, 2);
lean_inc(x_577);
lean_dec(x_7);
x_578 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__35;
lean_inc(x_532);
x_579 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_579, 0, x_532);
lean_ctor_set(x_579, 1, x_578);
x_580 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__36;
lean_inc(x_532);
x_581 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_581, 0, x_532);
lean_ctor_set(x_581, 1, x_580);
x_582 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__43;
x_583 = l_Lean_addMacroScope(x_529, x_582, x_577);
x_584 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__42;
x_585 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__45;
lean_inc(x_532);
x_586 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_586, 0, x_532);
lean_ctor_set(x_586, 1, x_584);
lean_ctor_set(x_586, 2, x_583);
lean_ctor_set(x_586, 3, x_585);
lean_inc(x_532);
x_587 = l_Lean_Syntax_node1(x_532, x_546, x_586);
x_588 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__40;
lean_inc(x_532);
x_589 = l_Lean_Syntax_node1(x_532, x_588, x_587);
x_590 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__46;
lean_inc(x_532);
x_591 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_591, 0, x_532);
lean_ctor_set(x_591, 1, x_590);
x_592 = l_Lean_SourceInfo_fromRef(x_1, x_552);
x_593 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__47;
x_594 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_594, 0, x_592);
lean_ctor_set(x_594, 1, x_593);
x_595 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__48;
lean_inc(x_532);
x_596 = l_Lean_Syntax_node2(x_532, x_595, x_594, x_574);
lean_inc(x_532);
x_597 = l_Lean_Syntax_node1(x_532, x_546, x_596);
lean_inc(x_532);
x_598 = l_Lean_Syntax_node1(x_532, x_565, x_597);
lean_inc(x_532);
x_599 = l_Lean_Syntax_node1(x_532, x_567, x_598);
x_600 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__37;
lean_inc(x_532);
x_601 = l_Lean_Syntax_node4(x_532, x_600, x_581, x_589, x_591, x_599);
lean_inc(x_532);
x_602 = l_Lean_Syntax_node1(x_532, x_546, x_601);
lean_inc(x_532);
x_603 = l_Lean_Syntax_node1(x_532, x_565, x_602);
lean_inc(x_532);
x_604 = l_Lean_Syntax_node1(x_532, x_567, x_603);
x_605 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__49;
lean_inc(x_532);
x_606 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_606, 0, x_532);
lean_ctor_set(x_606, 1, x_605);
x_607 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__34;
lean_inc(x_606);
lean_inc(x_579);
lean_inc(x_532);
x_608 = l_Lean_Syntax_node3(x_532, x_607, x_579, x_604, x_606);
x_609 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__50;
lean_inc(x_532);
x_610 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_610, 0, x_532);
lean_ctor_set(x_610, 1, x_609);
x_611 = l_Array_mkArray2___rarg(x_608, x_610);
x_612 = l_Array_append___rarg(x_518, x_572);
lean_dec(x_572);
x_613 = lean_array_get_size(x_612);
x_614 = lean_usize_of_nat(x_613);
lean_dec(x_613);
x_615 = 0;
x_616 = l_Array_mapMUnsafe_map___at___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___spec__1(x_614, x_615, x_612);
x_617 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__51;
x_618 = l_Lean_mkSepArray(x_616, x_617);
lean_dec(x_616);
x_619 = l_Array_append___rarg(x_611, x_618);
lean_dec(x_618);
lean_inc(x_532);
x_620 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_620, 0, x_532);
lean_ctor_set(x_620, 1, x_546);
lean_ctor_set(x_620, 2, x_619);
lean_inc(x_532);
x_621 = l_Lean_Syntax_node1(x_532, x_565, x_620);
lean_inc(x_532);
x_622 = l_Lean_Syntax_node1(x_532, x_567, x_621);
x_623 = l_Lean_Syntax_node3(x_532, x_607, x_579, x_622, x_606);
if (lean_is_scalar(x_576)) {
 x_624 = lean_alloc_ctor(0, 2, 0);
} else {
 x_624 = x_576;
}
lean_ctor_set(x_624, 0, x_623);
lean_ctor_set(x_624, 1, x_575);
return x_624;
}
else
{
lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; 
lean_dec(x_572);
lean_dec(x_532);
lean_dec(x_529);
lean_dec(x_518);
lean_dec(x_7);
x_625 = lean_ctor_get(x_573, 0);
lean_inc(x_625);
x_626 = lean_ctor_get(x_573, 1);
lean_inc(x_626);
if (lean_is_exclusive(x_573)) {
 lean_ctor_release(x_573, 0);
 lean_ctor_release(x_573, 1);
 x_627 = x_573;
} else {
 lean_dec_ref(x_573);
 x_627 = lean_box(0);
}
if (lean_is_scalar(x_627)) {
 x_628 = lean_alloc_ctor(1, 2, 0);
} else {
 x_628 = x_627;
}
lean_ctor_set(x_628, 0, x_625);
lean_ctor_set(x_628, 1, x_626);
return x_628;
}
}
else
{
lean_object* x_629; uint8_t x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; 
lean_dec(x_5);
lean_dec(x_3);
x_629 = lean_ctor_get(x_7, 5);
lean_inc(x_629);
x_630 = 0;
x_631 = l_Lean_SourceInfo_fromRef(x_629, x_630);
lean_dec(x_629);
x_632 = lean_ctor_get(x_7, 2);
lean_inc(x_632);
x_633 = lean_ctor_get(x_7, 1);
lean_inc(x_633);
x_634 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__8;
lean_inc(x_631);
x_635 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_635, 0, x_631);
lean_ctor_set(x_635, 1, x_634);
x_636 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__11;
lean_inc(x_632);
lean_inc(x_633);
x_637 = l_Lean_addMacroScope(x_633, x_636, x_632);
x_638 = lean_box(0);
x_639 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__10;
lean_inc(x_631);
x_640 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_640, 0, x_631);
lean_ctor_set(x_640, 1, x_639);
lean_ctor_set(x_640, 2, x_637);
lean_ctor_set(x_640, 3, x_638);
lean_inc(x_631);
x_641 = l_Lean_Syntax_node2(x_631, x_519, x_635, x_640);
x_642 = lean_apply_4(x_6, x_517, x_641, x_7, x_10);
if (lean_obj_tag(x_642) == 0)
{
lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; uint8_t x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; size_t x_687; size_t x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; 
x_643 = lean_ctor_get(x_642, 0);
lean_inc(x_643);
x_644 = lean_ctor_get(x_642, 1);
lean_inc(x_644);
if (lean_is_exclusive(x_642)) {
 lean_ctor_release(x_642, 0);
 lean_ctor_release(x_642, 1);
 x_645 = x_642;
} else {
 lean_dec_ref(x_642);
 x_645 = lean_box(0);
}
x_646 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__35;
lean_inc(x_631);
x_647 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_647, 0, x_631);
lean_ctor_set(x_647, 1, x_646);
x_648 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__36;
lean_inc(x_631);
x_649 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_649, 0, x_631);
lean_ctor_set(x_649, 1, x_648);
x_650 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__43;
x_651 = l_Lean_addMacroScope(x_633, x_650, x_632);
x_652 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__42;
x_653 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__45;
lean_inc(x_631);
x_654 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_654, 0, x_631);
lean_ctor_set(x_654, 1, x_652);
lean_ctor_set(x_654, 2, x_651);
lean_ctor_set(x_654, 3, x_653);
x_655 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__16;
lean_inc(x_631);
x_656 = l_Lean_Syntax_node1(x_631, x_655, x_654);
x_657 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__40;
lean_inc(x_631);
x_658 = l_Lean_Syntax_node1(x_631, x_657, x_656);
x_659 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__46;
lean_inc(x_631);
x_660 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_660, 0, x_631);
lean_ctor_set(x_660, 1, x_659);
x_661 = 1;
x_662 = l_Lean_SourceInfo_fromRef(x_1, x_661);
x_663 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__47;
x_664 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_664, 0, x_662);
lean_ctor_set(x_664, 1, x_663);
x_665 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__48;
lean_inc(x_631);
x_666 = l_Lean_Syntax_node2(x_631, x_665, x_664, x_643);
lean_inc(x_631);
x_667 = l_Lean_Syntax_node1(x_631, x_655, x_666);
x_668 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__26;
lean_inc(x_631);
x_669 = l_Lean_Syntax_node1(x_631, x_668, x_667);
x_670 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__24;
lean_inc(x_631);
x_671 = l_Lean_Syntax_node1(x_631, x_670, x_669);
x_672 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__37;
lean_inc(x_631);
x_673 = l_Lean_Syntax_node4(x_631, x_672, x_649, x_658, x_660, x_671);
lean_inc(x_631);
x_674 = l_Lean_Syntax_node1(x_631, x_655, x_673);
lean_inc(x_631);
x_675 = l_Lean_Syntax_node1(x_631, x_668, x_674);
lean_inc(x_631);
x_676 = l_Lean_Syntax_node1(x_631, x_670, x_675);
x_677 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__49;
lean_inc(x_631);
x_678 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_678, 0, x_631);
lean_ctor_set(x_678, 1, x_677);
x_679 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__34;
lean_inc(x_678);
lean_inc(x_647);
lean_inc(x_631);
x_680 = l_Lean_Syntax_node3(x_631, x_679, x_647, x_676, x_678);
x_681 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__50;
lean_inc(x_631);
x_682 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_682, 0, x_631);
lean_ctor_set(x_682, 1, x_681);
x_683 = l_Array_mkArray2___rarg(x_680, x_682);
x_684 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__21;
x_685 = l_Array_append___rarg(x_518, x_684);
x_686 = lean_array_get_size(x_685);
x_687 = lean_usize_of_nat(x_686);
lean_dec(x_686);
x_688 = 0;
x_689 = l_Array_mapMUnsafe_map___at___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___spec__1(x_687, x_688, x_685);
x_690 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__52;
x_691 = l_Lean_mkSepArray(x_689, x_690);
lean_dec(x_689);
x_692 = l_Array_append___rarg(x_683, x_691);
lean_dec(x_691);
lean_inc(x_631);
x_693 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_693, 0, x_631);
lean_ctor_set(x_693, 1, x_655);
lean_ctor_set(x_693, 2, x_692);
lean_inc(x_631);
x_694 = l_Lean_Syntax_node1(x_631, x_668, x_693);
lean_inc(x_631);
x_695 = l_Lean_Syntax_node1(x_631, x_670, x_694);
x_696 = l_Lean_Syntax_node3(x_631, x_679, x_647, x_695, x_678);
if (lean_is_scalar(x_645)) {
 x_697 = lean_alloc_ctor(0, 2, 0);
} else {
 x_697 = x_645;
}
lean_ctor_set(x_697, 0, x_696);
lean_ctor_set(x_697, 1, x_644);
return x_697;
}
else
{
lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; 
lean_dec(x_633);
lean_dec(x_632);
lean_dec(x_631);
lean_dec(x_518);
x_698 = lean_ctor_get(x_642, 0);
lean_inc(x_698);
x_699 = lean_ctor_get(x_642, 1);
lean_inc(x_699);
if (lean_is_exclusive(x_642)) {
 lean_ctor_release(x_642, 0);
 lean_ctor_release(x_642, 1);
 x_700 = x_642;
} else {
 lean_dec_ref(x_642);
 x_700 = lean_box(0);
}
if (lean_is_scalar(x_700)) {
 x_701 = lean_alloc_ctor(1, 2, 0);
} else {
 x_701 = x_700;
}
lean_ctor_set(x_701, 0, x_698);
lean_ctor_set(x_701, 1, x_699);
return x_701;
}
}
}
else
{
lean_object* x_702; 
lean_dec(x_3);
lean_inc(x_7);
x_702 = lean_apply_4(x_6, x_517, x_5, x_7, x_10);
if (lean_obj_tag(x_702) == 0)
{
lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; uint8_t x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; uint8_t x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; size_t x_752; size_t x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; 
x_703 = lean_ctor_get(x_702, 0);
lean_inc(x_703);
x_704 = lean_ctor_get(x_702, 1);
lean_inc(x_704);
if (lean_is_exclusive(x_702)) {
 lean_ctor_release(x_702, 0);
 lean_ctor_release(x_702, 1);
 x_705 = x_702;
} else {
 lean_dec_ref(x_702);
 x_705 = lean_box(0);
}
x_706 = lean_ctor_get(x_7, 5);
lean_inc(x_706);
x_707 = 0;
x_708 = l_Lean_SourceInfo_fromRef(x_706, x_707);
lean_dec(x_706);
x_709 = lean_ctor_get(x_7, 2);
lean_inc(x_709);
x_710 = lean_ctor_get(x_7, 1);
lean_inc(x_710);
lean_dec(x_7);
x_711 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__35;
lean_inc(x_708);
x_712 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_712, 0, x_708);
lean_ctor_set(x_712, 1, x_711);
x_713 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__36;
lean_inc(x_708);
x_714 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_714, 0, x_708);
lean_ctor_set(x_714, 1, x_713);
x_715 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__43;
x_716 = l_Lean_addMacroScope(x_710, x_715, x_709);
x_717 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__42;
x_718 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__53;
lean_inc(x_708);
x_719 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_719, 0, x_708);
lean_ctor_set(x_719, 1, x_717);
lean_ctor_set(x_719, 2, x_716);
lean_ctor_set(x_719, 3, x_718);
x_720 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__16;
lean_inc(x_708);
x_721 = l_Lean_Syntax_node1(x_708, x_720, x_719);
x_722 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__40;
lean_inc(x_708);
x_723 = l_Lean_Syntax_node1(x_708, x_722, x_721);
x_724 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__46;
lean_inc(x_708);
x_725 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_725, 0, x_708);
lean_ctor_set(x_725, 1, x_724);
x_726 = 1;
x_727 = l_Lean_SourceInfo_fromRef(x_1, x_726);
x_728 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__47;
x_729 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_729, 0, x_727);
lean_ctor_set(x_729, 1, x_728);
x_730 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__48;
lean_inc(x_708);
x_731 = l_Lean_Syntax_node2(x_708, x_730, x_729, x_703);
lean_inc(x_708);
x_732 = l_Lean_Syntax_node1(x_708, x_720, x_731);
x_733 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__26;
lean_inc(x_708);
x_734 = l_Lean_Syntax_node1(x_708, x_733, x_732);
x_735 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__24;
lean_inc(x_708);
x_736 = l_Lean_Syntax_node1(x_708, x_735, x_734);
x_737 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__37;
lean_inc(x_708);
x_738 = l_Lean_Syntax_node4(x_708, x_737, x_714, x_723, x_725, x_736);
lean_inc(x_708);
x_739 = l_Lean_Syntax_node1(x_708, x_720, x_738);
lean_inc(x_708);
x_740 = l_Lean_Syntax_node1(x_708, x_733, x_739);
lean_inc(x_708);
x_741 = l_Lean_Syntax_node1(x_708, x_735, x_740);
x_742 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__49;
lean_inc(x_708);
x_743 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_743, 0, x_708);
lean_ctor_set(x_743, 1, x_742);
x_744 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__34;
lean_inc(x_743);
lean_inc(x_712);
lean_inc(x_708);
x_745 = l_Lean_Syntax_node3(x_708, x_744, x_712, x_741, x_743);
x_746 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__50;
lean_inc(x_708);
x_747 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_747, 0, x_708);
lean_ctor_set(x_747, 1, x_746);
x_748 = l_Array_mkArray2___rarg(x_745, x_747);
x_749 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__21;
x_750 = l_Array_append___rarg(x_518, x_749);
x_751 = lean_array_get_size(x_750);
x_752 = lean_usize_of_nat(x_751);
lean_dec(x_751);
x_753 = 0;
x_754 = l_Array_mapMUnsafe_map___at___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___spec__1(x_752, x_753, x_750);
x_755 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__52;
x_756 = l_Lean_mkSepArray(x_754, x_755);
lean_dec(x_754);
x_757 = l_Array_append___rarg(x_748, x_756);
lean_dec(x_756);
lean_inc(x_708);
x_758 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_758, 0, x_708);
lean_ctor_set(x_758, 1, x_720);
lean_ctor_set(x_758, 2, x_757);
lean_inc(x_708);
x_759 = l_Lean_Syntax_node1(x_708, x_733, x_758);
lean_inc(x_708);
x_760 = l_Lean_Syntax_node1(x_708, x_735, x_759);
x_761 = l_Lean_Syntax_node3(x_708, x_744, x_712, x_760, x_743);
if (lean_is_scalar(x_705)) {
 x_762 = lean_alloc_ctor(0, 2, 0);
} else {
 x_762 = x_705;
}
lean_ctor_set(x_762, 0, x_761);
lean_ctor_set(x_762, 1, x_704);
return x_762;
}
else
{
lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; 
lean_dec(x_518);
lean_dec(x_7);
x_763 = lean_ctor_get(x_702, 0);
lean_inc(x_763);
x_764 = lean_ctor_get(x_702, 1);
lean_inc(x_764);
if (lean_is_exclusive(x_702)) {
 lean_ctor_release(x_702, 0);
 lean_ctor_release(x_702, 1);
 x_765 = x_702;
} else {
 lean_dec_ref(x_702);
 x_765 = lean_box(0);
}
if (lean_is_scalar(x_765)) {
 x_766 = lean_alloc_ctor(1, 2, 0);
} else {
 x_766 = x_765;
}
lean_ctor_set(x_766, 0, x_763);
lean_ctor_set(x_766, 1, x_764);
return x_766;
}
}
}
}
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
size_t x_4; size_t x_5; lean_object* x_6; 
x_4 = lean_unbox_usize(x_1);
lean_dec(x_1);
x_5 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_6 = l_Array_mapMUnsafe_map___at___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___spec__1(x_4, x_5, x_3);
return x_6;
}
}
LEAN_EXPORT lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
lean_object* x_9; 
x_9 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
lean_dec(x_1);
return x_9;
}
}
static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("termDepIfThenElse", 17, 17);
return x_1;
}
}
static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___closed__1;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("if", 2, 2);
return x_1;
}
}
static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(":", 1, 1);
return x_1;
}
}
static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("then", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("else", 4, 4);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; 
x_7 = lean_ctor_get(x_5, 5);
x_8 = 0;
x_9 = l_Lean_SourceInfo_fromRef(x_7, x_8);
x_10 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___closed__3;
lean_inc(x_9);
x_11 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_11, 0, x_9);
lean_ctor_set(x_11, 1, x_10);
x_12 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___closed__4;
lean_inc(x_9);
x_13 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_13, 0, x_9);
lean_ctor_set(x_13, 1, x_12);
x_14 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___closed__5;
lean_inc(x_9);
x_15 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_15, 0, x_9);
lean_ctor_set(x_15, 1, x_14);
x_16 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___closed__6;
lean_inc(x_9);
x_17 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_17, 0, x_9);
lean_ctor_set(x_17, 1, x_16);
x_18 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___closed__2;
x_19 = l_Lean_Syntax_node8(x_9, x_18, x_11, x_1, x_13, x_2, x_15, x_3, x_17, x_4);
x_20 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_20, 0, x_19);
lean_ctor_set(x_20, 1, x_6);
return x_20;
}
}
static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("tacDepIfThenElse", 16, 16);
return x_1;
}
}
static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1;
x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__2;
x_3 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__12;
x_4 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; uint8_t x_5; 
x_4 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___closed__2;
lean_inc(x_1);
x_5 = l_Lean_Syntax_isOfKind(x_1, x_4);
if (x_5 == 0)
{
lean_object* x_6; lean_object* x_7; 
lean_dec(x_2);
lean_dec(x_1);
x_6 = lean_box(1);
x_7 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_7, 0, x_6);
lean_ctor_set(x_7, 1, x_3);
return x_7;
}
else
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; 
x_8 = lean_unsigned_to_nat(0u);
x_9 = l_Lean_Syntax_getArg(x_1, x_8);
x_10 = lean_unsigned_to_nat(1u);
x_11 = l_Lean_Syntax_getArg(x_1, x_10);
x_12 = lean_unsigned_to_nat(3u);
x_13 = l_Lean_Syntax_getArg(x_1, x_12);
x_14 = lean_unsigned_to_nat(4u);
x_15 = l_Lean_Syntax_getArg(x_1, x_14);
x_16 = lean_unsigned_to_nat(5u);
x_17 = l_Lean_Syntax_getArg(x_1, x_16);
x_18 = lean_unsigned_to_nat(6u);
x_19 = l_Lean_Syntax_getArg(x_1, x_18);
x_20 = lean_unsigned_to_nat(7u);
x_21 = l_Lean_Syntax_getArg(x_1, x_20);
lean_dec(x_1);
x_22 = lean_alloc_closure((void*)(l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___boxed), 6, 2);
lean_closure_set(x_22, 0, x_11);
lean_closure_set(x_22, 1, x_13);
x_23 = !lean_is_exclusive(x_2);
if (x_23 == 0)
{
lean_object* x_24; lean_object* x_25; lean_object* x_26; 
x_24 = lean_ctor_get(x_2, 5);
x_25 = l_Lean_replaceRef(x_9, x_24);
lean_dec(x_24);
lean_ctor_set(x_2, 5, x_25);
x_26 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse(x_9, x_15, x_19, x_17, x_21, x_22, x_2, x_3);
lean_dec(x_9);
if (lean_obj_tag(x_26) == 0)
{
uint8_t x_27; 
x_27 = !lean_is_exclusive(x_26);
if (x_27 == 0)
{
return x_26;
}
else
{
lean_object* x_28; lean_object* x_29; lean_object* x_30; 
x_28 = lean_ctor_get(x_26, 0);
x_29 = lean_ctor_get(x_26, 1);
lean_inc(x_29);
lean_inc(x_28);
lean_dec(x_26);
x_30 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_30, 0, x_28);
lean_ctor_set(x_30, 1, x_29);
return x_30;
}
}
else
{
uint8_t x_31; 
x_31 = !lean_is_exclusive(x_26);
if (x_31 == 0)
{
return x_26;
}
else
{
lean_object* x_32; lean_object* x_33; lean_object* x_34; 
x_32 = lean_ctor_get(x_26, 0);
x_33 = lean_ctor_get(x_26, 1);
lean_inc(x_33);
lean_inc(x_32);
lean_dec(x_26);
x_34 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_34, 0, x_32);
lean_ctor_set(x_34, 1, x_33);
return x_34;
}
}
}
else
{
lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; 
x_35 = lean_ctor_get(x_2, 0);
x_36 = lean_ctor_get(x_2, 1);
x_37 = lean_ctor_get(x_2, 2);
x_38 = lean_ctor_get(x_2, 3);
x_39 = lean_ctor_get(x_2, 4);
x_40 = lean_ctor_get(x_2, 5);
lean_inc(x_40);
lean_inc(x_39);
lean_inc(x_38);
lean_inc(x_37);
lean_inc(x_36);
lean_inc(x_35);
lean_dec(x_2);
x_41 = l_Lean_replaceRef(x_9, x_40);
lean_dec(x_40);
x_42 = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(x_42, 0, x_35);
lean_ctor_set(x_42, 1, x_36);
lean_ctor_set(x_42, 2, x_37);
lean_ctor_set(x_42, 3, x_38);
lean_ctor_set(x_42, 4, x_39);
lean_ctor_set(x_42, 5, x_41);
x_43 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse(x_9, x_15, x_19, x_17, x_21, x_22, x_42, x_3);
lean_dec(x_9);
if (lean_obj_tag(x_43) == 0)
{
lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; 
x_44 = lean_ctor_get(x_43, 0);
lean_inc(x_44);
x_45 = lean_ctor_get(x_43, 1);
lean_inc(x_45);
if (lean_is_exclusive(x_43)) {
 lean_ctor_release(x_43, 0);
 lean_ctor_release(x_43, 1);
 x_46 = x_43;
} else {
 lean_dec_ref(x_43);
 x_46 = lean_box(0);
}
if (lean_is_scalar(x_46)) {
 x_47 = lean_alloc_ctor(0, 2, 0);
} else {
 x_47 = x_46;
}
lean_ctor_set(x_47, 0, x_44);
lean_ctor_set(x_47, 1, x_45);
return x_47;
}
else
{
lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; 
x_48 = lean_ctor_get(x_43, 0);
lean_inc(x_48);
x_49 = lean_ctor_get(x_43, 1);
lean_inc(x_49);
if (lean_is_exclusive(x_43)) {
 lean_ctor_release(x_43, 0);
 lean_ctor_release(x_43, 1);
 x_50 = x_43;
} else {
 lean_dec_ref(x_43);
 x_50 = lean_box(0);
}
if (lean_is_scalar(x_50)) {
 x_51 = lean_alloc_ctor(1, 2, 0);
} else {
 x_51 = x_50;
}
lean_ctor_set(x_51, 0, x_48);
lean_ctor_set(x_51, 1, x_49);
return x_51;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_5);
return x_7;
}
}
static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1___lambda__1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("h", 1, 1);
return x_1;
}
}
static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1___lambda__1___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1___lambda__1___closed__1;
x_2 = l_String_toSubstring_x27(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1___lambda__1___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1___lambda__1___closed__1;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; 
x_6 = lean_ctor_get(x_4, 5);
lean_inc(x_6);
x_7 = 0;
x_8 = l_Lean_SourceInfo_fromRef(x_6, x_7);
lean_dec(x_6);
x_9 = lean_ctor_get(x_4, 2);
lean_inc(x_9);
x_10 = lean_ctor_get(x_4, 1);
lean_inc(x_10);
lean_dec(x_4);
x_11 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___closed__3;
lean_inc(x_8);
x_12 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_12, 0, x_8);
lean_ctor_set(x_12, 1, x_11);
x_13 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1___lambda__1___closed__3;
x_14 = l_Lean_addMacroScope(x_10, x_13, x_9);
x_15 = lean_box(0);
x_16 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1___lambda__1___closed__2;
lean_inc(x_8);
x_17 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_17, 0, x_8);
lean_ctor_set(x_17, 1, x_16);
lean_ctor_set(x_17, 2, x_14);
lean_ctor_set(x_17, 3, x_15);
x_18 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__20;
lean_inc(x_8);
x_19 = l_Lean_Syntax_node1(x_8, x_18, x_17);
x_20 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___closed__4;
lean_inc(x_8);
x_21 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_21, 0, x_8);
lean_ctor_set(x_21, 1, x_20);
x_22 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___closed__5;
lean_inc(x_8);
x_23 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_23, 0, x_8);
lean_ctor_set(x_23, 1, x_22);
x_24 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___closed__6;
lean_inc(x_8);
x_25 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_25, 0, x_8);
lean_ctor_set(x_25, 1, x_24);
x_26 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___closed__2;
x_27 = l_Lean_Syntax_node8(x_8, x_26, x_12, x_19, x_21, x_1, x_23, x_2, x_25, x_3);
x_28 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_28, 0, x_27);
lean_ctor_set(x_28, 1, x_5);
return x_28;
}
}
static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("tacIfThenElse", 13, 13);
return x_1;
}
}
static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1;
x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__2;
x_3 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__12;
x_4 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1___closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; uint8_t x_5; 
x_4 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1___closed__2;
lean_inc(x_1);
x_5 = l_Lean_Syntax_isOfKind(x_1, x_4);
if (x_5 == 0)
{
lean_object* x_6; lean_object* x_7; 
lean_dec(x_2);
lean_dec(x_1);
x_6 = lean_box(1);
x_7 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_7, 0, x_6);
lean_ctor_set(x_7, 1, x_3);
return x_7;
}
else
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; 
x_8 = lean_unsigned_to_nat(0u);
x_9 = l_Lean_Syntax_getArg(x_1, x_8);
x_10 = lean_unsigned_to_nat(1u);
x_11 = l_Lean_Syntax_getArg(x_1, x_10);
x_12 = lean_unsigned_to_nat(2u);
x_13 = l_Lean_Syntax_getArg(x_1, x_12);
x_14 = lean_unsigned_to_nat(3u);
x_15 = l_Lean_Syntax_getArg(x_1, x_14);
x_16 = lean_unsigned_to_nat(4u);
x_17 = l_Lean_Syntax_getArg(x_1, x_16);
x_18 = lean_unsigned_to_nat(5u);
x_19 = l_Lean_Syntax_getArg(x_1, x_18);
lean_dec(x_1);
x_20 = lean_alloc_closure((void*)(l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1___lambda__1), 5, 1);
lean_closure_set(x_20, 0, x_11);
x_21 = !lean_is_exclusive(x_2);
if (x_21 == 0)
{
lean_object* x_22; lean_object* x_23; lean_object* x_24; 
x_22 = lean_ctor_get(x_2, 5);
x_23 = l_Lean_replaceRef(x_9, x_22);
lean_dec(x_22);
lean_ctor_set(x_2, 5, x_23);
x_24 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse(x_9, x_13, x_17, x_15, x_19, x_20, x_2, x_3);
lean_dec(x_9);
if (lean_obj_tag(x_24) == 0)
{
uint8_t x_25; 
x_25 = !lean_is_exclusive(x_24);
if (x_25 == 0)
{
return x_24;
}
else
{
lean_object* x_26; lean_object* x_27; lean_object* x_28; 
x_26 = lean_ctor_get(x_24, 0);
x_27 = lean_ctor_get(x_24, 1);
lean_inc(x_27);
lean_inc(x_26);
lean_dec(x_24);
x_28 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_28, 0, x_26);
lean_ctor_set(x_28, 1, x_27);
return x_28;
}
}
else
{
uint8_t x_29; 
x_29 = !lean_is_exclusive(x_24);
if (x_29 == 0)
{
return x_24;
}
else
{
lean_object* x_30; lean_object* x_31; lean_object* x_32; 
x_30 = lean_ctor_get(x_24, 0);
x_31 = lean_ctor_get(x_24, 1);
lean_inc(x_31);
lean_inc(x_30);
lean_dec(x_24);
x_32 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_32, 0, x_30);
lean_ctor_set(x_32, 1, x_31);
return x_32;
}
}
}
else
{
lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; 
x_33 = lean_ctor_get(x_2, 0);
x_34 = lean_ctor_get(x_2, 1);
x_35 = lean_ctor_get(x_2, 2);
x_36 = lean_ctor_get(x_2, 3);
x_37 = lean_ctor_get(x_2, 4);
x_38 = lean_ctor_get(x_2, 5);
lean_inc(x_38);
lean_inc(x_37);
lean_inc(x_36);
lean_inc(x_35);
lean_inc(x_34);
lean_inc(x_33);
lean_dec(x_2);
x_39 = l_Lean_replaceRef(x_9, x_38);
lean_dec(x_38);
x_40 = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(x_40, 0, x_33);
lean_ctor_set(x_40, 1, x_34);
lean_ctor_set(x_40, 2, x_35);
lean_ctor_set(x_40, 3, x_36);
lean_ctor_set(x_40, 4, x_37);
lean_ctor_set(x_40, 5, x_39);
x_41 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse(x_9, x_13, x_17, x_15, x_19, x_20, x_40, x_3);
lean_dec(x_9);
if (lean_obj_tag(x_41) == 0)
{
lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; 
x_42 = lean_ctor_get(x_41, 0);
lean_inc(x_42);
x_43 = lean_ctor_get(x_41, 1);
lean_inc(x_43);
if (lean_is_exclusive(x_41)) {
 lean_ctor_release(x_41, 0);
 lean_ctor_release(x_41, 1);
 x_44 = x_41;
} else {
 lean_dec_ref(x_41);
 x_44 = lean_box(0);
}
if (lean_is_scalar(x_44)) {
 x_45 = lean_alloc_ctor(0, 2, 0);
} else {
 x_45 = x_44;
}
lean_ctor_set(x_45, 0, x_42);
lean_ctor_set(x_45, 1, x_43);
return x_45;
}
else
{
lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; 
x_46 = lean_ctor_get(x_41, 0);
lean_inc(x_46);
x_47 = lean_ctor_get(x_41, 1);
lean_inc(x_47);
if (lean_is_exclusive(x_41)) {
 lean_ctor_release(x_41, 0);
 lean_ctor_release(x_41, 1);
 x_48 = x_41;
} else {
 lean_dec_ref(x_41);
 x_48 = lean_box(0);
}
if (lean_is_scalar(x_48)) {
 x_49 = lean_alloc_ctor(1, 2, 0);
} else {
 x_49 = x_48;
}
lean_ctor_set(x_49, 0, x_46);
lean_ctor_set(x_49, 1, x_47);
return x_49;
}
}
}
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticIterate___________closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("tacticIterate____", 17, 17);
return x_1;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticIterate___________closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1;
x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__2;
x_3 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__12;
x_4 = l_Lean_Parser_Tactic_tacticIterate___________closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticIterate___________closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("andthen", 7, 7);
return x_1;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticIterate___________closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Parser_Tactic_tacticIterate___________closed__3;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticIterate___________closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("iterate", 7, 7);
return x_1;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticIterate___________closed__6() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3; 
x_1 = l_Lean_Parser_Tactic_tacticIterate___________closed__5;
x_2 = 0;
x_3 = lean_alloc_ctor(6, 1, 1);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticIterate___________closed__7() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("optional", 8, 8);
return x_1;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticIterate___________closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Parser_Tactic_tacticIterate___________closed__7;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticIterate___________closed__9() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("ppSpace", 7, 7);
return x_1;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticIterate___________closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Parser_Tactic_tacticIterate___________closed__9;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticIterate___________closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Parser_Tactic_tacticIterate___________closed__10;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticIterate___________closed__12() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("num", 3, 3);
return x_1;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticIterate___________closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Parser_Tactic_tacticIterate___________closed__12;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticIterate___________closed__14() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Parser_Tactic_tacticIterate___________closed__13;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticIterate___________closed__15() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Parser_Tactic_tacticIterate___________closed__4;
x_2 = l_Lean_Parser_Tactic_tacticIterate___________closed__11;
x_3 = l_Lean_Parser_Tactic_tacticIterate___________closed__14;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticIterate___________closed__16() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Parser_Tactic_tacticIterate___________closed__8;
x_2 = l_Lean_Parser_Tactic_tacticIterate___________closed__15;
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticIterate___________closed__17() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Parser_Tactic_tacticIterate___________closed__4;
x_2 = l_Lean_Parser_Tactic_tacticIterate___________closed__6;
x_3 = l_Lean_Parser_Tactic_tacticIterate___________closed__16;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticIterate___________closed__18() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Parser_Tactic_tacticIterate___________closed__4;
x_2 = l_Lean_Parser_Tactic_tacticIterate___________closed__17;
x_3 = l_Lean_Parser_Tactic_tacticIterate___________closed__11;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticIterate___________closed__19() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__23;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticIterate___________closed__20() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Parser_Tactic_tacticIterate___________closed__19;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticIterate___________closed__21() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Parser_Tactic_tacticIterate___________closed__4;
x_2 = l_Lean_Parser_Tactic_tacticIterate___________closed__18;
x_3 = l_Lean_Parser_Tactic_tacticIterate___________closed__20;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticIterate___________closed__22() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Parser_Tactic_tacticIterate___________closed__2;
x_2 = lean_unsigned_to_nat(1022u);
x_3 = l_Lean_Parser_Tactic_tacticIterate___________closed__21;
x_4 = lean_alloc_ctor(3, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticIterate________() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Parser_Tactic_tacticIterate___________closed__22;
return x_1;
}
}
static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("seq1", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1;
x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__2;
x_3 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__12;
x_4 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("tacticTry_", 10, 10);
return x_1;
}
}
static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1;
x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__2;
x_3 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__12;
x_4 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__3;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("try", 3, 3);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; uint8_t x_5; 
x_4 = l_Lean_Parser_Tactic_tacticIterate___________closed__2;
lean_inc(x_1);
x_5 = l_Lean_Syntax_isOfKind(x_1, x_4);
if (x_5 == 0)
{
lean_object* x_6; lean_object* x_7; 
lean_dec(x_1);
x_6 = lean_box(1);
x_7 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_7, 0, x_6);
lean_ctor_set(x_7, 1, x_3);
return x_7;
}
else
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; 
x_8 = lean_unsigned_to_nat(1u);
x_9 = l_Lean_Syntax_getArg(x_1, x_8);
x_10 = lean_unsigned_to_nat(0u);
lean_inc(x_9);
x_11 = l_Lean_Syntax_matchesNull(x_9, x_10);
if (x_11 == 0)
{
uint8_t x_12; 
lean_inc(x_9);
x_12 = l_Lean_Syntax_matchesNull(x_9, x_8);
if (x_12 == 0)
{
lean_object* x_13; lean_object* x_14; 
lean_dec(x_9);
lean_dec(x_1);
x_13 = lean_box(1);
x_14 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_14, 0, x_13);
lean_ctor_set(x_14, 1, x_3);
return x_14;
}
else
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; 
x_15 = l_Lean_Syntax_getArg(x_9, x_10);
lean_dec(x_9);
x_16 = lean_unsigned_to_nat(2u);
x_17 = l_Lean_Syntax_getArg(x_1, x_16);
lean_dec(x_1);
x_18 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__24;
lean_inc(x_17);
x_19 = l_Lean_Syntax_isOfKind(x_17, x_18);
if (x_19 == 0)
{
lean_object* x_20; lean_object* x_21; 
lean_dec(x_17);
lean_dec(x_15);
x_20 = lean_box(1);
x_21 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_21, 0, x_20);
lean_ctor_set(x_21, 1, x_3);
return x_21;
}
else
{
lean_object* x_22; uint8_t x_23; 
x_22 = l_Lean_Syntax_toNat(x_15);
lean_dec(x_15);
x_23 = lean_nat_dec_eq(x_22, x_10);
if (x_23 == 0)
{
lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; 
x_24 = lean_nat_sub(x_22, x_8);
lean_dec(x_22);
x_25 = lean_ctor_get(x_2, 5);
x_26 = 0;
x_27 = l_Lean_SourceInfo_fromRef(x_25, x_26);
x_28 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__35;
lean_inc(x_27);
x_29 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_29, 0, x_27);
lean_ctor_set(x_29, 1, x_28);
x_30 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__49;
lean_inc(x_27);
x_31 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_31, 0, x_27);
lean_ctor_set(x_31, 1, x_30);
x_32 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__34;
lean_inc(x_17);
lean_inc(x_27);
x_33 = l_Lean_Syntax_node3(x_27, x_32, x_29, x_17, x_31);
x_34 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__50;
lean_inc(x_27);
x_35 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_35, 0, x_27);
lean_ctor_set(x_35, 1, x_34);
x_36 = l_Lean_Parser_Tactic_tacticIterate___________closed__5;
lean_inc(x_27);
x_37 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_37, 0, x_27);
lean_ctor_set(x_37, 1, x_36);
x_38 = l___private_Init_Data_Repr_0__Nat_reprFast(x_24);
x_39 = lean_box(2);
x_40 = l_Lean_Syntax_mkNumLit(x_38, x_39);
x_41 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__16;
lean_inc(x_27);
x_42 = l_Lean_Syntax_node1(x_27, x_41, x_40);
lean_inc(x_27);
x_43 = l_Lean_Syntax_node3(x_27, x_4, x_37, x_42, x_17);
lean_inc(x_27);
x_44 = l_Lean_Syntax_node3(x_27, x_41, x_33, x_35, x_43);
x_45 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__2;
x_46 = l_Lean_Syntax_node1(x_27, x_45, x_44);
x_47 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_47, 0, x_46);
lean_ctor_set(x_47, 1, x_3);
return x_47;
}
else
{
lean_object* x_48; uint8_t x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; 
lean_dec(x_22);
lean_dec(x_17);
x_48 = lean_ctor_get(x_2, 5);
x_49 = 0;
x_50 = l_Lean_SourceInfo_fromRef(x_48, x_49);
x_51 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__30;
lean_inc(x_50);
x_52 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_52, 0, x_50);
lean_ctor_set(x_52, 1, x_51);
x_53 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__31;
x_54 = l_Lean_Syntax_node1(x_50, x_53, x_52);
x_55 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_55, 0, x_54);
lean_ctor_set(x_55, 1, x_3);
return x_55;
}
}
}
}
else
{
lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; 
lean_dec(x_9);
x_56 = lean_unsigned_to_nat(2u);
x_57 = l_Lean_Syntax_getArg(x_1, x_56);
lean_dec(x_1);
x_58 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__24;
lean_inc(x_57);
x_59 = l_Lean_Syntax_isOfKind(x_57, x_58);
if (x_59 == 0)
{
lean_object* x_60; lean_object* x_61; 
lean_dec(x_57);
x_60 = lean_box(1);
x_61 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_61, 0, x_60);
lean_ctor_set(x_61, 1, x_3);
return x_61;
}
else
{
lean_object* x_62; uint8_t x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; 
x_62 = lean_ctor_get(x_2, 5);
x_63 = 0;
x_64 = l_Lean_SourceInfo_fromRef(x_62, x_63);
x_65 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__5;
lean_inc(x_64);
x_66 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_66, 0, x_64);
lean_ctor_set(x_66, 1, x_65);
x_67 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__35;
lean_inc(x_64);
x_68 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_68, 0, x_64);
lean_ctor_set(x_68, 1, x_67);
x_69 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__49;
lean_inc(x_64);
x_70 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_70, 0, x_64);
lean_ctor_set(x_70, 1, x_69);
x_71 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__34;
lean_inc(x_57);
lean_inc(x_64);
x_72 = l_Lean_Syntax_node3(x_64, x_71, x_68, x_57, x_70);
x_73 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__50;
lean_inc(x_64);
x_74 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_74, 0, x_64);
lean_ctor_set(x_74, 1, x_73);
x_75 = l_Lean_Parser_Tactic_tacticIterate___________closed__5;
lean_inc(x_64);
x_76 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_76, 0, x_64);
lean_ctor_set(x_76, 1, x_75);
x_77 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__16;
x_78 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__21;
lean_inc(x_64);
x_79 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_79, 0, x_64);
lean_ctor_set(x_79, 1, x_77);
lean_ctor_set(x_79, 2, x_78);
lean_inc(x_64);
x_80 = l_Lean_Syntax_node3(x_64, x_4, x_76, x_79, x_57);
lean_inc(x_64);
x_81 = l_Lean_Syntax_node3(x_64, x_77, x_72, x_74, x_80);
x_82 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__26;
lean_inc(x_64);
x_83 = l_Lean_Syntax_node1(x_64, x_82, x_81);
lean_inc(x_64);
x_84 = l_Lean_Syntax_node1(x_64, x_58, x_83);
x_85 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__4;
x_86 = l_Lean_Syntax_node2(x_64, x_85, x_66, x_84);
x_87 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_87, 0, x_86);
lean_ctor_set(x_87, 1, x_3);
return x_87;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1(x_1, x_2, x_3);
lean_dec(x_2);
return x_4;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("tacticRw_mod_cast___", 20, 20);
return x_1;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1;
x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__2;
x_3 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__12;
x_4 = l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("rw_mod_cast", 11, 11);
return x_1;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__4() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3; 
x_1 = l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__3;
x_2 = 0;
x_3 = lean_alloc_ctor(6, 1, 1);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Parser_Tactic_tacticIterate___________closed__8;
x_2 = l_Lean_Parser_Tactic_config;
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Parser_Tactic_tacticIterate___________closed__4;
x_2 = l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__4;
x_3 = l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__5;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Parser_Tactic_tacticIterate___________closed__4;
x_2 = l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__6;
x_3 = l_Lean_Parser_Tactic_rwRuleSeq;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Parser_Tactic_tacticIterate___________closed__8;
x_2 = l_Lean_Parser_Tactic_location;
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Parser_Tactic_tacticIterate___________closed__4;
x_2 = l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__7;
x_3 = l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__8;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__2;
x_2 = lean_unsigned_to_nat(1022u);
x_3 = l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__9;
x_4 = lean_alloc_ctor(3, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticRw__mod__cast______() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__10;
return x_1;
}
}
static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("tacticNorm_cast_", 16, 16);
return x_1;
}
}
static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1;
x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__2;
x_3 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__12;
x_4 = l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("norm_cast", 9, 9);
return x_1;
}
}
static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("location", 8, 8);
return x_1;
}
}
static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1;
x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__2;
x_3 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__12;
x_4 = l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__4;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("at", 2, 2);
return x_1;
}
}
static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__7() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("locationWildcard", 16, 16);
return x_1;
}
}
static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1;
x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__2;
x_3 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__12;
x_4 = l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__7;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__9() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("*", 1, 1);
return x_1;
}
}
static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__10() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("rwSeq", 5, 5);
return x_1;
}
}
static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1;
x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__2;
x_3 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__12;
x_4 = l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__10;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__12() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("rw", 2, 2);
return x_1;
}
}
static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__13() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("[", 1, 1);
return x_1;
}
}
static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__14() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("]", 1, 1);
return x_1;
}
}
static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__15() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__21;
x_2 = l_Array_append___rarg(x_1, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
uint8_t x_10; 
x_10 = lean_usize_dec_lt(x_6, x_5);
if (x_10 == 0)
{
lean_object* x_11; 
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_11 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_11, 0, x_7);
lean_ctor_set(x_11, 1, x_9);
return x_11;
}
else
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; 
x_12 = lean_array_uget(x_7, x_6);
x_13 = lean_unsigned_to_nat(0u);
x_14 = lean_array_uset(x_7, x_6, x_13);
x_15 = lean_ctor_get(x_8, 5);
x_16 = 0;
x_17 = l_Lean_SourceInfo_fromRef(x_15, x_16);
x_18 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__35;
lean_inc(x_17);
x_19 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_19, 0, x_17);
lean_ctor_set(x_19, 1, x_18);
x_20 = l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__3;
lean_inc(x_17);
x_21 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_21, 0, x_17);
lean_ctor_set(x_21, 1, x_20);
x_22 = l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__6;
lean_inc(x_17);
x_23 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_23, 0, x_17);
lean_ctor_set(x_23, 1, x_22);
x_24 = l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__9;
lean_inc(x_17);
x_25 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_25, 0, x_17);
lean_ctor_set(x_25, 1, x_24);
x_26 = l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__8;
lean_inc(x_17);
x_27 = l_Lean_Syntax_node1(x_17, x_26, x_25);
x_28 = l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__5;
lean_inc(x_17);
x_29 = l_Lean_Syntax_node2(x_17, x_28, x_23, x_27);
x_30 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__16;
lean_inc(x_17);
x_31 = l_Lean_Syntax_node1(x_17, x_30, x_29);
x_32 = l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__2;
lean_inc(x_17);
x_33 = l_Lean_Syntax_node2(x_17, x_32, x_21, x_31);
x_34 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__50;
lean_inc(x_17);
x_35 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_35, 0, x_17);
lean_ctor_set(x_35, 1, x_34);
x_36 = l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__12;
lean_inc(x_17);
x_37 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_37, 0, x_17);
lean_ctor_set(x_37, 1, x_36);
x_38 = l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__13;
lean_inc(x_17);
x_39 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_39, 0, x_17);
lean_ctor_set(x_39, 1, x_38);
lean_inc(x_17);
x_40 = l_Lean_Syntax_node1(x_17, x_30, x_12);
x_41 = l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__14;
lean_inc(x_17);
x_42 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_42, 0, x_17);
lean_ctor_set(x_42, 1, x_41);
lean_inc(x_2);
lean_inc(x_17);
x_43 = l_Lean_Syntax_node3(x_17, x_2, x_39, x_40, x_42);
x_44 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__49;
lean_inc(x_17);
x_45 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_45, 0, x_17);
lean_ctor_set(x_45, 1, x_44);
if (lean_obj_tag(x_1) == 0)
{
lean_object* x_83; 
x_83 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__21;
x_46 = x_83;
goto block_82;
}
else
{
lean_object* x_84; lean_object* x_85; 
x_84 = lean_ctor_get(x_1, 0);
lean_inc(x_84);
x_85 = l_Array_mkArray1___rarg(x_84);
x_46 = x_85;
goto block_82;
}
block_82:
{
lean_object* x_47; lean_object* x_48; lean_object* x_49; 
x_47 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__21;
x_48 = l_Array_append___rarg(x_47, x_46);
lean_dec(x_46);
lean_inc(x_17);
x_49 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_49, 0, x_17);
lean_ctor_set(x_49, 1, x_30);
lean_ctor_set(x_49, 2, x_48);
if (lean_obj_tag(x_3) == 0)
{
lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; size_t x_61; size_t x_62; lean_object* x_63; 
x_50 = l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__15;
lean_inc(x_17);
x_51 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_51, 0, x_17);
lean_ctor_set(x_51, 1, x_30);
lean_ctor_set(x_51, 2, x_50);
x_52 = l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__11;
lean_inc(x_17);
x_53 = l_Lean_Syntax_node4(x_17, x_52, x_37, x_49, x_43, x_51);
lean_inc(x_17);
x_54 = l_Lean_Syntax_node3(x_17, x_30, x_33, x_35, x_53);
x_55 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__26;
lean_inc(x_17);
x_56 = l_Lean_Syntax_node1(x_17, x_55, x_54);
x_57 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__24;
lean_inc(x_17);
x_58 = l_Lean_Syntax_node1(x_17, x_57, x_56);
x_59 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__34;
x_60 = l_Lean_Syntax_node3(x_17, x_59, x_19, x_58, x_45);
x_61 = 1;
x_62 = lean_usize_add(x_6, x_61);
x_63 = lean_array_uset(x_14, x_6, x_60);
x_6 = x_62;
x_7 = x_63;
goto _start;
}
else
{
lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; size_t x_78; size_t x_79; lean_object* x_80; 
x_65 = lean_ctor_get(x_3, 0);
lean_inc(x_65);
x_66 = l_Array_mkArray1___rarg(x_65);
x_67 = l_Array_append___rarg(x_47, x_66);
lean_dec(x_66);
lean_inc(x_17);
x_68 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_68, 0, x_17);
lean_ctor_set(x_68, 1, x_30);
lean_ctor_set(x_68, 2, x_67);
x_69 = l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__11;
lean_inc(x_17);
x_70 = l_Lean_Syntax_node4(x_17, x_69, x_37, x_49, x_43, x_68);
lean_inc(x_17);
x_71 = l_Lean_Syntax_node3(x_17, x_30, x_33, x_35, x_70);
x_72 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__26;
lean_inc(x_17);
x_73 = l_Lean_Syntax_node1(x_17, x_72, x_71);
x_74 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__24;
lean_inc(x_17);
x_75 = l_Lean_Syntax_node1(x_17, x_74, x_73);
x_76 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__34;
x_77 = l_Lean_Syntax_node3(x_17, x_76, x_19, x_75, x_45);
x_78 = 1;
x_79 = lean_usize_add(x_6, x_78);
x_80 = lean_array_uset(x_14, x_6, x_77);
x_6 = x_79;
x_7 = x_80;
goto _start;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; size_t x_12; size_t x_13; lean_object* x_14; uint8_t x_15; 
x_8 = lean_box(0);
x_9 = l_Lean_Syntax_getArgs(x_1);
x_10 = l_Lean_Syntax_TSepArray_getElems___rarg(x_9);
lean_dec(x_9);
x_11 = lean_array_get_size(x_10);
x_12 = lean_usize_of_nat(x_11);
lean_dec(x_11);
x_13 = 0;
x_14 = l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1(x_2, x_3, x_5, x_8, x_12, x_13, x_10, x_6, x_7);
x_15 = !lean_is_exclusive(x_14);
if (x_15 == 0)
{
lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; size_t x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; 
x_16 = lean_ctor_get(x_14, 0);
x_17 = lean_ctor_get(x_6, 5);
x_18 = 0;
x_19 = l_Lean_SourceInfo_fromRef(x_17, x_18);
x_20 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__35;
lean_inc(x_19);
x_21 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_21, 0, x_19);
lean_ctor_set(x_21, 1, x_20);
x_22 = lean_array_get_size(x_16);
x_23 = lean_usize_of_nat(x_22);
lean_dec(x_22);
x_24 = l_Array_mapMUnsafe_map___at___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___spec__1(x_23, x_13, x_16);
x_25 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__51;
x_26 = l_Lean_mkSepArray(x_24, x_25);
lean_dec(x_24);
x_27 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__21;
x_28 = l_Array_append___rarg(x_27, x_26);
lean_dec(x_26);
x_29 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__16;
lean_inc(x_19);
x_30 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_30, 0, x_19);
lean_ctor_set(x_30, 1, x_29);
lean_ctor_set(x_30, 2, x_28);
x_31 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__26;
lean_inc(x_19);
x_32 = l_Lean_Syntax_node1(x_19, x_31, x_30);
x_33 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__24;
lean_inc(x_19);
x_34 = l_Lean_Syntax_node1(x_19, x_33, x_32);
x_35 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__49;
lean_inc(x_19);
x_36 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_36, 0, x_19);
lean_ctor_set(x_36, 1, x_35);
x_37 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__34;
x_38 = l_Lean_Syntax_node3(x_19, x_37, x_21, x_34, x_36);
lean_ctor_set(x_14, 0, x_38);
return x_14;
}
else
{
lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; size_t x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; 
x_39 = lean_ctor_get(x_14, 0);
x_40 = lean_ctor_get(x_14, 1);
lean_inc(x_40);
lean_inc(x_39);
lean_dec(x_14);
x_41 = lean_ctor_get(x_6, 5);
x_42 = 0;
x_43 = l_Lean_SourceInfo_fromRef(x_41, x_42);
x_44 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__35;
lean_inc(x_43);
x_45 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_45, 0, x_43);
lean_ctor_set(x_45, 1, x_44);
x_46 = lean_array_get_size(x_39);
x_47 = lean_usize_of_nat(x_46);
lean_dec(x_46);
x_48 = l_Array_mapMUnsafe_map___at___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___spec__1(x_47, x_13, x_39);
x_49 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__51;
x_50 = l_Lean_mkSepArray(x_48, x_49);
lean_dec(x_48);
x_51 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__21;
x_52 = l_Array_append___rarg(x_51, x_50);
lean_dec(x_50);
x_53 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__16;
lean_inc(x_43);
x_54 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_54, 0, x_43);
lean_ctor_set(x_54, 1, x_53);
lean_ctor_set(x_54, 2, x_52);
x_55 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__26;
lean_inc(x_43);
x_56 = l_Lean_Syntax_node1(x_43, x_55, x_54);
x_57 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__24;
lean_inc(x_43);
x_58 = l_Lean_Syntax_node1(x_43, x_57, x_56);
x_59 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__49;
lean_inc(x_43);
x_60 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_60, 0, x_43);
lean_ctor_set(x_60, 1, x_59);
x_61 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__34;
x_62 = l_Lean_Syntax_node3(x_43, x_61, x_45, x_58, x_60);
x_63 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_63, 0, x_62);
lean_ctor_set(x_63, 1, x_40);
return x_63;
}
}
}
static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___lambda__2___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("rwRuleSeq", 9, 9);
return x_1;
}
}
static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___lambda__2___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1;
x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__2;
x_3 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__12;
x_4 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___lambda__2___closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; 
x_6 = lean_unsigned_to_nat(2u);
x_7 = l_Lean_Syntax_getArg(x_1, x_6);
x_8 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___lambda__2___closed__2;
lean_inc(x_7);
x_9 = l_Lean_Syntax_isOfKind(x_7, x_8);
if (x_9 == 0)
{
lean_object* x_10; lean_object* x_11; 
lean_dec(x_7);
lean_dec(x_3);
x_10 = lean_box(1);
x_11 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_11, 0, x_10);
lean_ctor_set(x_11, 1, x_5);
return x_11;
}
else
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; 
x_12 = lean_unsigned_to_nat(1u);
x_13 = l_Lean_Syntax_getArg(x_7, x_12);
lean_dec(x_7);
x_14 = lean_unsigned_to_nat(3u);
x_15 = l_Lean_Syntax_getArg(x_1, x_14);
x_16 = l_Lean_Syntax_isNone(x_15);
if (x_16 == 0)
{
uint8_t x_17; 
lean_inc(x_15);
x_17 = l_Lean_Syntax_matchesNull(x_15, x_12);
if (x_17 == 0)
{
lean_object* x_18; lean_object* x_19; 
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_3);
x_18 = lean_box(1);
x_19 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_19, 0, x_18);
lean_ctor_set(x_19, 1, x_5);
return x_19;
}
else
{
lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; 
x_20 = lean_unsigned_to_nat(0u);
x_21 = l_Lean_Syntax_getArg(x_15, x_20);
lean_dec(x_15);
x_22 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_22, 0, x_21);
x_23 = lean_box(0);
x_24 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___lambda__1(x_13, x_3, x_8, x_23, x_22, x_4, x_5);
lean_dec(x_13);
return x_24;
}
}
else
{
lean_object* x_25; lean_object* x_26; lean_object* x_27; 
lean_dec(x_15);
x_25 = lean_box(0);
x_26 = lean_box(0);
x_27 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___lambda__1(x_13, x_3, x_8, x_26, x_25, x_4, x_5);
lean_dec(x_13);
return x_27;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; uint8_t x_5; 
x_4 = l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__2;
lean_inc(x_1);
x_5 = l_Lean_Syntax_isOfKind(x_1, x_4);
if (x_5 == 0)
{
lean_object* x_6; lean_object* x_7; 
lean_dec(x_1);
x_6 = lean_box(1);
x_7 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_7, 0, x_6);
lean_ctor_set(x_7, 1, x_3);
return x_7;
}
else
{
lean_object* x_8; lean_object* x_9; uint8_t x_10; 
x_8 = lean_unsigned_to_nat(1u);
x_9 = l_Lean_Syntax_getArg(x_1, x_8);
x_10 = l_Lean_Syntax_isNone(x_9);
if (x_10 == 0)
{
uint8_t x_11; 
lean_inc(x_9);
x_11 = l_Lean_Syntax_matchesNull(x_9, x_8);
if (x_11 == 0)
{
lean_object* x_12; lean_object* x_13; 
lean_dec(x_9);
lean_dec(x_1);
x_12 = lean_box(1);
x_13 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_13, 0, x_12);
lean_ctor_set(x_13, 1, x_3);
return x_13;
}
else
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; 
x_14 = lean_unsigned_to_nat(0u);
x_15 = l_Lean_Syntax_getArg(x_9, x_14);
lean_dec(x_9);
x_16 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_16, 0, x_15);
x_17 = lean_box(0);
x_18 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___lambda__2(x_1, x_17, x_16, x_2, x_3);
lean_dec(x_1);
return x_18;
}
}
else
{
lean_object* x_19; lean_object* x_20; lean_object* x_21; 
lean_dec(x_9);
x_19 = lean_box(0);
x_20 = lean_box(0);
x_21 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___lambda__2(x_1, x_20, x_19, x_2, x_3);
lean_dec(x_1);
return x_21;
}
}
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
size_t x_10; size_t x_11; lean_object* x_12; 
x_10 = lean_unbox_usize(x_5);
lean_dec(x_5);
x_11 = lean_unbox_usize(x_6);
lean_dec(x_6);
x_12 = l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1(x_1, x_2, x_3, x_4, x_10, x_11, x_7, x_8, x_9);
lean_dec(x_8);
lean_dec(x_4);
return x_12;
}
}
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7);
lean_dec(x_6);
lean_dec(x_4);
lean_dec(x_1);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; 
x_6 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___lambda__2(x_1, x_2, x_3, x_4, x_5);
lean_dec(x_4);
lean_dec(x_2);
lean_dec(x_1);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1(x_1, x_2, x_3);
lean_dec(x_2);
return x_4;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("tacticExact_mod_cast_", 21, 21);
return x_1;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1;
x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__2;
x_3 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__12;
x_4 = l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("exact_mod_cast ", 15, 15);
return x_1;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__4() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3; 
x_1 = l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__3;
x_2 = 0;
x_3 = lean_alloc_ctor(6, 1, 1);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("term", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__5;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__6;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Parser_Tactic_tacticIterate___________closed__4;
x_2 = l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__4;
x_3 = l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__7;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__2;
x_2 = lean_unsigned_to_nat(1022u);
x_3 = l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__8;
x_4 = lean_alloc_ctor(3, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticExact__mod__cast__() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__9;
return x_1;
}
}
static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("exact", 5, 5);
return x_1;
}
}
static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1;
x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__2;
x_3 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__12;
x_4 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("modCast", 7, 7);
return x_1;
}
}
static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1;
x_2 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__3;
x_3 = l_Lean_Name_mkStr2(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("mod_cast", 8, 8);
return x_1;
}
}
static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("typeAscription", 14, 14);
return x_1;
}
}
static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1;
x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__2;
x_3 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__3;
x_4 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__6;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__8() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("_", 1, 1);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; uint8_t x_5; 
x_4 = l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__2;
lean_inc(x_1);
x_5 = l_Lean_Syntax_isOfKind(x_1, x_4);
if (x_5 == 0)
{
lean_object* x_6; lean_object* x_7; 
lean_dec(x_1);
x_6 = lean_box(1);
x_7 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_7, 0, x_6);
lean_ctor_set(x_7, 1, x_3);
return x_7;
}
else
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; 
x_8 = lean_unsigned_to_nat(1u);
x_9 = l_Lean_Syntax_getArg(x_1, x_8);
lean_dec(x_1);
x_10 = lean_ctor_get(x_2, 5);
x_11 = 0;
x_12 = l_Lean_SourceInfo_fromRef(x_10, x_11);
x_13 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__1;
lean_inc(x_12);
x_14 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_14, 0, x_12);
lean_ctor_set(x_14, 1, x_13);
x_15 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__5;
lean_inc(x_12);
x_16 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_16, 0, x_12);
lean_ctor_set(x_16, 1, x_15);
x_17 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__35;
lean_inc(x_12);
x_18 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_18, 0, x_12);
lean_ctor_set(x_18, 1, x_17);
x_19 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___closed__4;
lean_inc(x_12);
x_20 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_20, 0, x_12);
lean_ctor_set(x_20, 1, x_19);
x_21 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__8;
lean_inc(x_12);
x_22 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_22, 0, x_12);
lean_ctor_set(x_22, 1, x_21);
x_23 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__7;
lean_inc(x_12);
x_24 = l_Lean_Syntax_node1(x_12, x_23, x_22);
x_25 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__16;
lean_inc(x_12);
x_26 = l_Lean_Syntax_node1(x_12, x_25, x_24);
x_27 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__49;
lean_inc(x_12);
x_28 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_28, 0, x_12);
lean_ctor_set(x_28, 1, x_27);
x_29 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__7;
lean_inc(x_12);
x_30 = l_Lean_Syntax_node5(x_12, x_29, x_18, x_9, x_20, x_26, x_28);
x_31 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__4;
lean_inc(x_12);
x_32 = l_Lean_Syntax_node2(x_12, x_31, x_16, x_30);
x_33 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__2;
x_34 = l_Lean_Syntax_node2(x_12, x_33, x_14, x_32);
x_35 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_35, 0, x_34);
lean_ctor_set(x_35, 1, x_3);
return x_35;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1(x_1, x_2, x_3);
lean_dec(x_2);
return x_4;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticApply__mod__cast_____closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("tacticApply_mod_cast_", 21, 21);
return x_1;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticApply__mod__cast_____closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1;
x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__2;
x_3 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__12;
x_4 = l_Lean_Parser_Tactic_tacticApply__mod__cast_____closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticApply__mod__cast_____closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("apply_mod_cast ", 15, 15);
return x_1;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticApply__mod__cast_____closed__4() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3; 
x_1 = l_Lean_Parser_Tactic_tacticApply__mod__cast_____closed__3;
x_2 = 0;
x_3 = lean_alloc_ctor(6, 1, 1);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticApply__mod__cast_____closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Parser_Tactic_tacticIterate___________closed__4;
x_2 = l_Lean_Parser_Tactic_tacticApply__mod__cast_____closed__4;
x_3 = l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__7;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticApply__mod__cast_____closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Parser_Tactic_tacticApply__mod__cast_____closed__2;
x_2 = lean_unsigned_to_nat(1022u);
x_3 = l_Lean_Parser_Tactic_tacticApply__mod__cast_____closed__5;
x_4 = lean_alloc_ctor(3, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_tacticApply__mod__cast__() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Parser_Tactic_tacticApply__mod__cast_____closed__6;
return x_1;
}
}
static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticApply__mod__cast____1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("apply", 5, 5);
return x_1;
}
}
static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticApply__mod__cast____1___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1;
x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__2;
x_3 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__12;
x_4 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticApply__mod__cast____1___closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticApply__mod__cast____1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; uint8_t x_5; 
x_4 = l_Lean_Parser_Tactic_tacticApply__mod__cast_____closed__2;
lean_inc(x_1);
x_5 = l_Lean_Syntax_isOfKind(x_1, x_4);
if (x_5 == 0)
{
lean_object* x_6; lean_object* x_7; 
lean_dec(x_1);
x_6 = lean_box(1);
x_7 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_7, 0, x_6);
lean_ctor_set(x_7, 1, x_3);
return x_7;
}
else
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; 
x_8 = lean_unsigned_to_nat(1u);
x_9 = l_Lean_Syntax_getArg(x_1, x_8);
lean_dec(x_1);
x_10 = lean_ctor_get(x_2, 5);
x_11 = 0;
x_12 = l_Lean_SourceInfo_fromRef(x_10, x_11);
x_13 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticApply__mod__cast____1___closed__1;
lean_inc(x_12);
x_14 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_14, 0, x_12);
lean_ctor_set(x_14, 1, x_13);
x_15 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__5;
lean_inc(x_12);
x_16 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_16, 0, x_12);
lean_ctor_set(x_16, 1, x_15);
x_17 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__35;
lean_inc(x_12);
x_18 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_18, 0, x_12);
lean_ctor_set(x_18, 1, x_17);
x_19 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___closed__4;
lean_inc(x_12);
x_20 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_20, 0, x_12);
lean_ctor_set(x_20, 1, x_19);
x_21 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__8;
lean_inc(x_12);
x_22 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_22, 0, x_12);
lean_ctor_set(x_22, 1, x_21);
x_23 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__7;
lean_inc(x_12);
x_24 = l_Lean_Syntax_node1(x_12, x_23, x_22);
x_25 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__16;
lean_inc(x_12);
x_26 = l_Lean_Syntax_node1(x_12, x_25, x_24);
x_27 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__49;
lean_inc(x_12);
x_28 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_28, 0, x_12);
lean_ctor_set(x_28, 1, x_27);
x_29 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__7;
lean_inc(x_12);
x_30 = l_Lean_Syntax_node5(x_12, x_29, x_18, x_9, x_20, x_26, x_28);
x_31 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__4;
lean_inc(x_12);
x_32 = l_Lean_Syntax_node2(x_12, x_31, x_16, x_30);
x_33 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticApply__mod__cast____1___closed__2;
x_34 = l_Lean_Syntax_node2(x_12, x_33, x_14, x_32);
x_35 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_35, 0, x_34);
lean_ctor_set(x_35, 1, x_3);
return x_35;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticApply__mod__cast____1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticApply__mod__cast____1(x_1, x_2, x_3);
lean_dec(x_2);
return x_4;
}
}
lean_object* initialize_Init_Tactics(uint8_t builtin, lean_object*);
lean_object* initialize_Init_NotationExtra(uint8_t builtin, lean_object*);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Init_TacticsExtra(uint8_t builtin, lean_object* w) {
lean_object * res;
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
_G_initialized = true;
res = initialize_Init_Tactics(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Init_NotationExtra(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__2 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__2();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__2);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__3 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__3();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__3);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__4 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__4();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__4);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__5 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__5();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__5);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__6 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__6();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__6);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__7 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__7();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__7);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__8 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__8();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__8);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__9 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__9();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__9);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__10 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__10();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__10);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__11 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__11();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__11);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__12 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__12();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__12);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__13 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__13();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__13);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__14 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__14();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__14);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__15 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__15();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__15);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__16 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__16();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__16);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__17 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__17();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__17);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__18 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__18();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__18);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__19 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__19();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__19);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__20 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__20();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__20);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__21 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__21();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__21);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__22 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__22();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__22);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__23 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__23();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__23);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__24 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__24();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__24);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__25 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__25();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__25);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__26 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__26();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__26);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__27 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__27();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__27);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__28 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__28();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__28);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__29 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__29();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__29);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__30 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__30();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__30);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__31 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__31();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__31);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__32 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__32();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__32);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__33 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__33();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__33);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__34 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__34();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__34);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__35 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__35();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__35);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__36 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__36();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__36);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__37 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__37();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__37);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__38 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__38();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__38);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__39 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__39();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__39);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__40 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__40();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__40);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__41 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__41();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__41);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__42 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__42();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__42);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__43 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__43();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__43);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__44 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__44();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__44);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__45 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__45();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__45);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__46 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__46();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__46);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__47 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__47();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__47);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__48 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__48();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__48);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__49 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__49();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__49);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__50 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__50();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__50);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__51 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__51();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__51);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__52 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__52();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__52);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__53 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__53();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__53);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__54 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__54();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__54);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__55 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__55();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__55);
l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__56 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__56();
lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__56);
l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___closed__1 = _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___closed__1();
lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___closed__1);
l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___closed__2 = _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___closed__2();
lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___closed__2);
l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___closed__3 = _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___closed__3();
lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___closed__3);
l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___closed__4 = _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___closed__4();
lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___closed__4);
l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___closed__5 = _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___closed__5();
lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___closed__5);
l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___closed__6 = _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___closed__6();
lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___closed__6);
l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___closed__1 = _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___closed__1();
lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___closed__1);
l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___closed__2 = _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___closed__2();
lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___closed__2);
l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1___lambda__1___closed__1 = _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1___lambda__1___closed__1();
lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1___lambda__1___closed__1);
l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1___lambda__1___closed__2 = _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1___lambda__1___closed__2();
lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1___lambda__1___closed__2);
l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1___lambda__1___closed__3 = _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1___lambda__1___closed__3();
lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1___lambda__1___closed__3);
l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1___closed__1 = _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1___closed__1();
lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1___closed__1);
l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1___closed__2 = _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1___closed__2();
lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1___closed__2);
l_Lean_Parser_Tactic_tacticIterate___________closed__1 = _init_l_Lean_Parser_Tactic_tacticIterate___________closed__1();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticIterate___________closed__1);
l_Lean_Parser_Tactic_tacticIterate___________closed__2 = _init_l_Lean_Parser_Tactic_tacticIterate___________closed__2();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticIterate___________closed__2);
l_Lean_Parser_Tactic_tacticIterate___________closed__3 = _init_l_Lean_Parser_Tactic_tacticIterate___________closed__3();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticIterate___________closed__3);
l_Lean_Parser_Tactic_tacticIterate___________closed__4 = _init_l_Lean_Parser_Tactic_tacticIterate___________closed__4();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticIterate___________closed__4);
l_Lean_Parser_Tactic_tacticIterate___________closed__5 = _init_l_Lean_Parser_Tactic_tacticIterate___________closed__5();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticIterate___________closed__5);
l_Lean_Parser_Tactic_tacticIterate___________closed__6 = _init_l_Lean_Parser_Tactic_tacticIterate___________closed__6();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticIterate___________closed__6);
l_Lean_Parser_Tactic_tacticIterate___________closed__7 = _init_l_Lean_Parser_Tactic_tacticIterate___________closed__7();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticIterate___________closed__7);
l_Lean_Parser_Tactic_tacticIterate___________closed__8 = _init_l_Lean_Parser_Tactic_tacticIterate___________closed__8();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticIterate___________closed__8);
l_Lean_Parser_Tactic_tacticIterate___________closed__9 = _init_l_Lean_Parser_Tactic_tacticIterate___________closed__9();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticIterate___________closed__9);
l_Lean_Parser_Tactic_tacticIterate___________closed__10 = _init_l_Lean_Parser_Tactic_tacticIterate___________closed__10();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticIterate___________closed__10);
l_Lean_Parser_Tactic_tacticIterate___________closed__11 = _init_l_Lean_Parser_Tactic_tacticIterate___________closed__11();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticIterate___________closed__11);
l_Lean_Parser_Tactic_tacticIterate___________closed__12 = _init_l_Lean_Parser_Tactic_tacticIterate___________closed__12();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticIterate___________closed__12);
l_Lean_Parser_Tactic_tacticIterate___________closed__13 = _init_l_Lean_Parser_Tactic_tacticIterate___________closed__13();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticIterate___________closed__13);
l_Lean_Parser_Tactic_tacticIterate___________closed__14 = _init_l_Lean_Parser_Tactic_tacticIterate___________closed__14();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticIterate___________closed__14);
l_Lean_Parser_Tactic_tacticIterate___________closed__15 = _init_l_Lean_Parser_Tactic_tacticIterate___________closed__15();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticIterate___________closed__15);
l_Lean_Parser_Tactic_tacticIterate___________closed__16 = _init_l_Lean_Parser_Tactic_tacticIterate___________closed__16();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticIterate___________closed__16);
l_Lean_Parser_Tactic_tacticIterate___________closed__17 = _init_l_Lean_Parser_Tactic_tacticIterate___________closed__17();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticIterate___________closed__17);
l_Lean_Parser_Tactic_tacticIterate___________closed__18 = _init_l_Lean_Parser_Tactic_tacticIterate___________closed__18();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticIterate___________closed__18);
l_Lean_Parser_Tactic_tacticIterate___________closed__19 = _init_l_Lean_Parser_Tactic_tacticIterate___________closed__19();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticIterate___________closed__19);
l_Lean_Parser_Tactic_tacticIterate___________closed__20 = _init_l_Lean_Parser_Tactic_tacticIterate___________closed__20();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticIterate___________closed__20);
l_Lean_Parser_Tactic_tacticIterate___________closed__21 = _init_l_Lean_Parser_Tactic_tacticIterate___________closed__21();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticIterate___________closed__21);
l_Lean_Parser_Tactic_tacticIterate___________closed__22 = _init_l_Lean_Parser_Tactic_tacticIterate___________closed__22();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticIterate___________closed__22);
l_Lean_Parser_Tactic_tacticIterate________ = _init_l_Lean_Parser_Tactic_tacticIterate________();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticIterate________);
l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__1 = _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__1();
lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__1);
l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__2 = _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__2();
lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__2);
l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__3 = _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__3();
lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__3);
l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__4 = _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__4();
lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__4);
l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__5 = _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__5();
lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__5);
l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__1 = _init_l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__1();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__1);
l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__2 = _init_l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__2();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__2);
l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__3 = _init_l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__3();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__3);
l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__4 = _init_l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__4();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__4);
l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__5 = _init_l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__5();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__5);
l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__6 = _init_l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__6();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__6);
l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__7 = _init_l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__7();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__7);
l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__8 = _init_l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__8();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__8);
l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__9 = _init_l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__9();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__9);
l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__10 = _init_l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__10();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__10);
l_Lean_Parser_Tactic_tacticRw__mod__cast______ = _init_l_Lean_Parser_Tactic_tacticRw__mod__cast______();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticRw__mod__cast______);
l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__1();
lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__1);
l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__2();
lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__2);
l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__3 = _init_l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__3();
lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__3);
l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__4 = _init_l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__4();
lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__4);
l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__5 = _init_l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__5();
lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__5);
l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__6 = _init_l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__6();
lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__6);
l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__7 = _init_l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__7();
lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__7);
l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__8 = _init_l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__8();
lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__8);
l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__9 = _init_l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__9();
lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__9);
l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__10 = _init_l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__10();
lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__10);
l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__11 = _init_l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__11();
lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__11);
l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__12 = _init_l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__12();
lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__12);
l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__13 = _init_l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__13();
lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__13);
l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__14 = _init_l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__14();
lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__14);
l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__15 = _init_l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__15();
lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___spec__1___closed__15);
l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___lambda__2___closed__1 = _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___lambda__2___closed__1();
lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___lambda__2___closed__1);
l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___lambda__2___closed__2 = _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___lambda__2___closed__2();
lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___lambda__2___closed__2);
l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__1 = _init_l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__1();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__1);
l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__2 = _init_l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__2();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__2);
l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__3 = _init_l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__3();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__3);
l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__4 = _init_l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__4();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__4);
l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__5 = _init_l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__5();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__5);
l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__6 = _init_l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__6();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__6);
l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__7 = _init_l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__7();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__7);
l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__8 = _init_l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__8();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__8);
l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__9 = _init_l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__9();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__9);
l_Lean_Parser_Tactic_tacticExact__mod__cast__ = _init_l_Lean_Parser_Tactic_tacticExact__mod__cast__();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticExact__mod__cast__);
l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__1 = _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__1();
lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__1);
l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__2 = _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__2();
lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__2);
l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__3 = _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__3();
lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__3);
l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__4 = _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__4();
lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__4);
l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__5 = _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__5();
lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__5);
l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__6 = _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__6();
lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__6);
l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__7 = _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__7();
lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__7);
l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__8 = _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__8();
lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__8);
l_Lean_Parser_Tactic_tacticApply__mod__cast_____closed__1 = _init_l_Lean_Parser_Tactic_tacticApply__mod__cast_____closed__1();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticApply__mod__cast_____closed__1);
l_Lean_Parser_Tactic_tacticApply__mod__cast_____closed__2 = _init_l_Lean_Parser_Tactic_tacticApply__mod__cast_____closed__2();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticApply__mod__cast_____closed__2);
l_Lean_Parser_Tactic_tacticApply__mod__cast_____closed__3 = _init_l_Lean_Parser_Tactic_tacticApply__mod__cast_____closed__3();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticApply__mod__cast_____closed__3);
l_Lean_Parser_Tactic_tacticApply__mod__cast_____closed__4 = _init_l_Lean_Parser_Tactic_tacticApply__mod__cast_____closed__4();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticApply__mod__cast_____closed__4);
l_Lean_Parser_Tactic_tacticApply__mod__cast_____closed__5 = _init_l_Lean_Parser_Tactic_tacticApply__mod__cast_____closed__5();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticApply__mod__cast_____closed__5);
l_Lean_Parser_Tactic_tacticApply__mod__cast_____closed__6 = _init_l_Lean_Parser_Tactic_tacticApply__mod__cast_____closed__6();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticApply__mod__cast_____closed__6);
l_Lean_Parser_Tactic_tacticApply__mod__cast__ = _init_l_Lean_Parser_Tactic_tacticApply__mod__cast__();
lean_mark_persistent(l_Lean_Parser_Tactic_tacticApply__mod__cast__);
l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticApply__mod__cast____1___closed__1 = _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticApply__mod__cast____1___closed__1();
lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticApply__mod__cast____1___closed__1);
l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticApply__mod__cast____1___closed__2 = _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticApply__mod__cast____1___closed__2();
lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticApply__mod__cast____1___closed__2);
return lean_io_result_mk_ok(lean_box(0));
}
#ifdef __cplusplus
}
#endif
